hw/gpu: pass in memory reference
This commit is contained in:
parent
ec01975549
commit
cfee59c6db
5 changed files with 17 additions and 7 deletions
|
@ -86,9 +86,9 @@ template void Write<u8>(u32 addr, const u8 data);
|
|||
void Update() {}
|
||||
|
||||
/// Initialize hardware
|
||||
void Init() {
|
||||
void Init(Memory::MemorySystem& memory) {
|
||||
AES::InitKeys();
|
||||
GPU::Init();
|
||||
GPU::Init(memory);
|
||||
LCD::Init();
|
||||
LOG_DEBUG(HW, "initialized OK");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue