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 {
ASSERT_MSG(false, "ExceptionRaised(exception = {}, pc = {:X})",
static_cast<size_t>(exception), pc);
ASSERT_MSG(false, "ExceptionRaised(exception = {}, pc = {:08X}, code = {:08X})",
static_cast<size_t>(exception), pc, MemoryReadCode(pc));
}
void AddTicks(std::uint64_t ticks) override {