VideoCore: pass in memory system

currently set as global. Will change when videocore itself is wrapped as a class
This commit is contained in:
Weiyi Wang 2018-11-21 11:20:20 -05:00
parent 8c618c3fc3
commit 8bb404c82a
3 changed files with 12 additions and 3 deletions

View file

@ -206,7 +206,7 @@ System::ResultStatus System::Init(EmuWindow& emu_window, u32 system_mode) {
Service::Init(*this);
GDBStub::Init();
ResultStatus result = VideoCore::Init(emu_window);
ResultStatus result = VideoCore::Init(emu_window, *memory);
if (result != ResultStatus::Success) {
return result;
}