mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-30 05:24:13 +01:00
Log the contents of the General Purpose Registers when an unrecoverable exception occurs (#66)
This information is valuable for individuals utilizing Lime3DS to assist in debugging processes.
This commit is contained in:
parent
a47bd06da9
commit
880292592c
@ -99,6 +99,9 @@ public:
|
|||||||
case Dynarmic::A32::Exception::PreloadInstruction:
|
case Dynarmic::A32::Exception::PreloadInstruction:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
for (int i = 0; i < 16; i++) {
|
||||||
|
LOG_CRITICAL(Debug, "r{:02d} = {:08X}", i, parent.GetReg(i));
|
||||||
|
}
|
||||||
ASSERT_MSG(false, "ExceptionRaised(exception = {}, pc = {:08X}, code = {:08X})", exception,
|
ASSERT_MSG(false, "ExceptionRaised(exception = {}, pc = {:08X}, code = {:08X})", exception,
|
||||||
pc, MemoryReadCode(pc).value());
|
pc, MemoryReadCode(pc).value());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user