mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-23 19:46:44 +00:00
arm_dynarmic: Update memory interface
This commit is contained in:
parent
2b36d4c9d7
commit
e2815408fd
2
externals/dynarmic
vendored
2
externals/dynarmic
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 9ecdd32b846bd6061852a3c35b8883d2eb5863d2
|
||||
Subproject commit 459d7d1bafcf85677c989b7cb260d3789aa813e2
|
|
@ -46,16 +46,16 @@ static Dynarmic::UserCallbacks GetUserCallbacks(
|
|||
user_callbacks.InterpreterFallback = &InterpreterFallback;
|
||||
user_callbacks.user_arg = static_cast<void*>(interpeter_state.get());
|
||||
user_callbacks.CallSVC = &SVC::CallSVC;
|
||||
user_callbacks.IsReadOnlyMemory = &IsReadOnlyMemory;
|
||||
user_callbacks.MemoryReadCode = &Memory::Read32;
|
||||
user_callbacks.MemoryRead8 = &Memory::Read8;
|
||||
user_callbacks.MemoryRead16 = &Memory::Read16;
|
||||
user_callbacks.MemoryRead32 = &Memory::Read32;
|
||||
user_callbacks.MemoryRead64 = &Memory::Read64;
|
||||
user_callbacks.MemoryWrite8 = &Memory::Write8;
|
||||
user_callbacks.MemoryWrite16 = &Memory::Write16;
|
||||
user_callbacks.MemoryWrite32 = &Memory::Write32;
|
||||
user_callbacks.MemoryWrite64 = &Memory::Write64;
|
||||
user_callbacks.memory.IsReadOnlyMemory = &IsReadOnlyMemory;
|
||||
user_callbacks.memory.ReadCode = &Memory::Read32;
|
||||
user_callbacks.memory.Read8 = &Memory::Read8;
|
||||
user_callbacks.memory.Read16 = &Memory::Read16;
|
||||
user_callbacks.memory.Read32 = &Memory::Read32;
|
||||
user_callbacks.memory.Read64 = &Memory::Read64;
|
||||
user_callbacks.memory.Write8 = &Memory::Write8;
|
||||
user_callbacks.memory.Write16 = &Memory::Write16;
|
||||
user_callbacks.memory.Write32 = &Memory::Write32;
|
||||
user_callbacks.memory.Write64 = &Memory::Write64;
|
||||
user_callbacks.page_table = Memory::GetCurrentPageTablePointers();
|
||||
user_callbacks.coprocessors[15] = std::make_shared<DynarmicCP15>(interpeter_state);
|
||||
return user_callbacks;
|
||||
|
|
Loading…
Reference in a new issue