summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-24 06:09:56 +0100
committerGitHub <noreply@github.com>2018-02-24 06:09:56 +0100
commitc45173c9a64d9f2e4430ee5f2463a1db8351c722 (patch)
tree16c49a79d6d8408fb36266fe63d0bf00ec6af25d /src/core/arm
parentMerge pull request #217 from shinyquagsire23/time-s-missing (diff)
parentStub more functions (diff)
downloadyuzu-c45173c9a64d9f2e4430ee5f2463a1db8351c722.tar
yuzu-c45173c9a64d9f2e4430ee5f2463a1db8351c722.tar.gz
yuzu-c45173c9a64d9f2e4430ee5f2463a1db8351c722.tar.bz2
yuzu-c45173c9a64d9f2e4430ee5f2463a1db8351c722.tar.lz
yuzu-c45173c9a64d9f2e4430ee5f2463a1db8351c722.tar.xz
yuzu-c45173c9a64d9f2e4430ee5f2463a1db8351c722.tar.zst
yuzu-c45173c9a64d9f2e4430ee5f2463a1db8351c722.zip
Diffstat (limited to 'src/core/arm')
-rw-r--r--src/core/arm/unicorn/arm_unicorn.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp
index fd64eab39..5d2956bfd 100644
--- a/src/core/arm/unicorn/arm_unicorn.cpp
+++ b/src/core/arm/unicorn/arm_unicorn.cpp
@@ -52,7 +52,8 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int si
void* user_data) {
ARM_Interface::ThreadContext ctx{};
Core::CPU().SaveContext(ctx);
- ASSERT_MSG(false, "Attempted to read from unmapped memory: 0x%llx", addr);
+ ASSERT_MSG(false, "Attempted to read from unmapped memory: 0x%llx, pc=0x%llx, lr=0x%llx", addr,
+ ctx.pc, ctx.cpu_registers[30]);
return {};
}