diff options
author | bunnei <bunneidev@gmail.com> | 2016-12-22 20:25:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 20:25:15 +0100 |
commit | 76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8 (patch) | |
tree | 19f8051a39d913b8d4b7c7012ee48ba07df700fd /src/core/arm | |
parent | Merge pull request #2343 from bunnei/core-cleanup (diff) | |
parent | arm_dynarmic: Provide MemoryReadCode callback (diff) | |
download | yuzu-76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8.tar yuzu-76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8.tar.gz yuzu-76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8.tar.bz2 yuzu-76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8.tar.lz yuzu-76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8.tar.xz yuzu-76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8.tar.zst yuzu-76890672a0bf38abd0b6fd7d898fbfd4a7ae86d8.zip |
Diffstat (limited to 'src/core/arm')
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp index 5290382ff..9f25e3b00 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<void*>(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; |