citra-emu
/
citra-canary
Archived
1
0
Fork 0

arm_dynarmic: Print current instruction when ExceptionRaised

This commit is contained in:
MerryMage 2018-08-26 00:38:23 +01:00
parent 75f3d2ba31
commit 1817e30eff
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ public:
} }
void ExceptionRaised(VAddr pc, Dynarmic::A32::Exception exception) override { void ExceptionRaised(VAddr pc, Dynarmic::A32::Exception exception) override {
ASSERT_MSG(false, "ExceptionRaised(exception = {}, pc = {:X})", ASSERT_MSG(false, "ExceptionRaised(exception = {}, pc = {:08X}, code = {:08X})",
static_cast<size_t>(exception), pc); static_cast<size_t>(exception), pc, MemoryReadCode(pc));
} }
void AddTicks(std::uint64_t ticks) override { void AddTicks(std::uint64_t ticks) override {