summaryrefslogtreecommitdiffstats
path: root/src/core/arm/unicorn/arm_unicorn.cpp
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-02-22 11:04:23 +0100
committermailwl <mailwl@gmail.com>2018-02-22 11:04:23 +0100
commit910198a29a7d9679d4286a337aa223543545e798 (patch)
treedd17c952c72b055df24cd11cf923dff3980400df /src/core/arm/unicorn/arm_unicorn.cpp
parentMerge pull request #211 from shinyquagsire23/time_local (diff)
downloadyuzu-910198a29a7d9679d4286a337aa223543545e798.tar
yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.gz
yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.bz2
yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.lz
yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.xz
yuzu-910198a29a7d9679d4286a337aa223543545e798.tar.zst
yuzu-910198a29a7d9679d4286a337aa223543545e798.zip
Diffstat (limited to '')
-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 {};
}