hw/gpu: pass in memory reference
This commit is contained in:
parent
ec01975549
commit
cfee59c6db
5 changed files with 17 additions and 7 deletions
|
@ -6,6 +6,10 @@
|
|||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Memory {
|
||||
class MemorySystem;
|
||||
}
|
||||
|
||||
namespace HW {
|
||||
|
||||
/// Beginnings of IO register regions, in the user VA space.
|
||||
|
@ -42,7 +46,7 @@ void Write(u32 addr, const T data);
|
|||
void Update();
|
||||
|
||||
/// Initialize hardware
|
||||
void Init();
|
||||
void Init(Memory::MemorySystem& memory);
|
||||
|
||||
/// Shutdown hardware
|
||||
void Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue