hw/gpu: pass in memory reference

This commit is contained in:
Weiyi Wang
2018-12-05 20:16:42 -05:00
parent ec01975549
commit cfee59c6db
5 changed files with 17 additions and 7 deletions
+5 -1
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();