yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

arm_dynarmic: LOG_INFO on unicorn fallback

This commit is contained in:
MerryMage 2018-02-21 20:48:22 +00:00
parent cc368de1a0
commit e8b9731af3
1 changed files with 4 additions and 0 deletions

View File

@ -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);