2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

arm_dynarmic: Provide MemoryReadCode callback

Change of interface in dynarmic 36082087ded632079b16d24137fdd0c450ce82ea
This commit is contained in:
MerryMage 2016-12-22 15:55:51 +00:00
parent 17d740299a
commit f8cf87ce34
2 changed files with 2 additions and 1 deletions

2
externals/dynarmic vendored

@ -1 +1 @@
Subproject commit 34e19f135c0dd2feac4f77660f51aa4ea28a7386 Subproject commit 36082087ded632079b16d24137fdd0c450ce82ea

View file

@ -45,6 +45,7 @@ static Dynarmic::UserCallbacks GetUserCallbacks(ARMul_State* interpeter_state) {
user_callbacks.user_arg = static_cast<void*>(interpeter_state); user_callbacks.user_arg = static_cast<void*>(interpeter_state);
user_callbacks.CallSVC = &SVC::CallSVC; user_callbacks.CallSVC = &SVC::CallSVC;
user_callbacks.IsReadOnlyMemory = &IsReadOnlyMemory; user_callbacks.IsReadOnlyMemory = &IsReadOnlyMemory;
user_callbacks.MemoryReadCode = &Memory::Read32;
user_callbacks.MemoryRead8 = &Memory::Read8; user_callbacks.MemoryRead8 = &Memory::Read8;
user_callbacks.MemoryRead16 = &Memory::Read16; user_callbacks.MemoryRead16 = &Memory::Read16;
user_callbacks.MemoryRead32 = &Memory::Read32; user_callbacks.MemoryRead32 = &Memory::Read32;