hw/gpu: pass in memory reference

This commit is contained in:
Weiyi Wang
2018-11-21 11:53:10 -05:00
parent ec01975549
commit cfee59c6db
5 changed files with 17 additions and 7 deletions

View File

@ -11,6 +11,10 @@
#include "common/common_funcs.h"
#include "common/common_types.h"
namespace Memory {
class MemorySystem;
}
namespace GPU {
constexpr float SCREEN_REFRESH_RATE = 60;
@ -326,7 +330,7 @@ template <typename T>
void Write(u32 addr, const T data);
/// Initialize hardware
void Init();
void Init(Memory::MemorySystem& memory);
/// Shutdown hardware
void Shutdown();