|
|
@ -46,16 +46,16 @@ static Dynarmic::UserCallbacks GetUserCallbacks(
|
|
|
|
user_callbacks.InterpreterFallback = &InterpreterFallback;
|
|
|
|
user_callbacks.InterpreterFallback = &InterpreterFallback;
|
|
|
|
user_callbacks.user_arg = static_cast<void*>(interpeter_state.get());
|
|
|
|
user_callbacks.user_arg = static_cast<void*>(interpeter_state.get());
|
|
|
|
user_callbacks.CallSVC = &SVC::CallSVC;
|
|
|
|
user_callbacks.CallSVC = &SVC::CallSVC;
|
|
|
|
user_callbacks.IsReadOnlyMemory = &IsReadOnlyMemory;
|
|
|
|
user_callbacks.memory.IsReadOnlyMemory = &IsReadOnlyMemory;
|
|
|
|
user_callbacks.MemoryReadCode = &Memory::Read32;
|
|
|
|
user_callbacks.memory.ReadCode = &Memory::Read32;
|
|
|
|
user_callbacks.MemoryRead8 = &Memory::Read8;
|
|
|
|
user_callbacks.memory.Read8 = &Memory::Read8;
|
|
|
|
user_callbacks.MemoryRead16 = &Memory::Read16;
|
|
|
|
user_callbacks.memory.Read16 = &Memory::Read16;
|
|
|
|
user_callbacks.MemoryRead32 = &Memory::Read32;
|
|
|
|
user_callbacks.memory.Read32 = &Memory::Read32;
|
|
|
|
user_callbacks.MemoryRead64 = &Memory::Read64;
|
|
|
|
user_callbacks.memory.Read64 = &Memory::Read64;
|
|
|
|
user_callbacks.MemoryWrite8 = &Memory::Write8;
|
|
|
|
user_callbacks.memory.Write8 = &Memory::Write8;
|
|
|
|
user_callbacks.MemoryWrite16 = &Memory::Write16;
|
|
|
|
user_callbacks.memory.Write16 = &Memory::Write16;
|
|
|
|
user_callbacks.MemoryWrite32 = &Memory::Write32;
|
|
|
|
user_callbacks.memory.Write32 = &Memory::Write32;
|
|
|
|
user_callbacks.MemoryWrite64 = &Memory::Write64;
|
|
|
|
user_callbacks.memory.Write64 = &Memory::Write64;
|
|
|
|
user_callbacks.page_table = Memory::GetCurrentPageTablePointers();
|
|
|
|
user_callbacks.page_table = Memory::GetCurrentPageTablePointers();
|
|
|
|
user_callbacks.coprocessors[15] = std::make_shared<DynarmicCP15>(interpeter_state);
|
|
|
|
user_callbacks.coprocessors[15] = std::make_shared<DynarmicCP15>(interpeter_state);
|
|
|
|
return user_callbacks;
|
|
|
|
return user_callbacks;
|
|
|
|