From f8cf87ce349d3e51d661cf49f00f1325e34bfefc Mon Sep 17 00:00:00 2001 From: MerryMage Date: Thu, 22 Dec 2016 15:55:51 +0000 Subject: arm_dynarmic: Provide MemoryReadCode callback Change of interface in dynarmic 36082087ded632079b16d24137fdd0c450ce82ea --- src/core/arm/dynarmic/arm_dynarmic.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/arm/dynarmic') diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index fc4254670..f99fe08c4 100644 --- a/src/core/arm/dynarmic/arm_dynarmic.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic.cpp @@ -45,6 +45,7 @@ static Dynarmic::UserCallbacks GetUserCallbacks(ARMul_State* interpeter_state) { user_callbacks.user_arg = static_cast(interpeter_state); 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; -- cgit v1.2.3