summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2018-02-21 21:48:22 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2018-02-21 22:39:07 +0100
commite8b9731af3a2ee2234a09300d8af7ea3469d22bd (patch)
tree5877df04829da22c85095e19463d663dfe115cb9
parentmemory: LOG_ERROR when falling off end of page table (diff)
downloadyuzu-e8b9731af3a2ee2234a09300d8af7ea3469d22bd.tar
yuzu-e8b9731af3a2ee2234a09300d8af7ea3469d22bd.tar.gz
yuzu-e8b9731af3a2ee2234a09300d8af7ea3469d22bd.tar.bz2
yuzu-e8b9731af3a2ee2234a09300d8af7ea3469d22bd.tar.lz
yuzu-e8b9731af3a2ee2234a09300d8af7ea3469d22bd.tar.xz
yuzu-e8b9731af3a2ee2234a09300d8af7ea3469d22bd.tar.zst
yuzu-e8b9731af3a2ee2234a09300d8af7ea3469d22bd.zip
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp
index 283d20831..ab10b8a34 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.cpp
@@ -6,6 +6,7 @@
#include <memory>
#include <dynarmic/A64/a64.h>
#include <dynarmic/A64/config.h>
+#include "common/logging/log.h"
#include "core/arm/dynarmic/arm_dynarmic.h"
#include "core/core_timing.h"
#include "core/hle/kernel/memory.h"
@@ -53,6 +54,9 @@ public:
}
void InterpreterFallback(u64 pc, size_t num_instructions) override {
+ LOG_INFO(Core_ARM, "Unicorn fallback @ 0x%" PRIx64 " for %zu instructions (instr = %08x)",
+ pc, num_instructions, MemoryReadCode(pc));
+
ARM_Interface::ThreadContext ctx;
parent.SaveContext(ctx);
parent.inner_unicorn.LoadContext(ctx);