diff options
author | bunnei <bunneidev@gmail.com> | 2018-05-03 04:36:51 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-05-11 01:34:46 +0200 |
commit | a434fdcb102e96ddf564dc0973d7073d49bf19fc (patch) | |
tree | de758b0cc5ebcb67146397a74474fb898c0be51a /src/core/arm | |
parent | core: Create a thread for each CPU core, keep in lock-step with a barrier. (diff) | |
download | yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar.gz yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar.bz2 yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar.lz yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar.xz yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.tar.zst yuzu-a434fdcb102e96ddf564dc0973d7073d49bf19fc.zip |
Diffstat (limited to 'src/core/arm')
-rw-r--r-- | src/core/arm/unicorn/arm_unicorn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp index 574922130..c0cc62f03 100644 --- a/src/core/arm/unicorn/arm_unicorn.cpp +++ b/src/core/arm/unicorn/arm_unicorn.cpp @@ -52,7 +52,7 @@ static void InterruptHook(uc_engine* uc, u32 intNo, void* user_data) { static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int size, u64 value, void* user_data) { ARM_Interface::ThreadContext ctx{}; - Core::CPU().SaveContext(ctx); + Core::CurrentArmInterface().SaveContext(ctx); ASSERT_MSG(false, "Attempted to read from unmapped memory: 0x{:X}, pc=0x{:X}, lr=0x{:X}", addr, ctx.pc, ctx.cpu_registers[30]); return {}; |