This commit is contained in:
wrapper 2026-03-29 15:08:55 +07:00
parent 4e325fb4c9
commit 0d3241edfe

View file

@ -299,7 +299,7 @@ namespace Dynemu {
void ExceptionRaised(u32 pc, Dynarmic::A32::Exception exception)
*/
void ExceptionRaised(u32 pc, Dynarmic::A32::Exception exception) override {
std::cerr << fmt::format("dynemu: exception at {:#010x}: code {:#02x} ", pc, (int)exception) << std::endl;;
std::cerr << fmt::format("dynemu: exception at {:#010x}: code {:#04x} ", pc, (int)exception) << std::endl;;
if (exception == Dynarmic::A32::Exception::NoExecuteFault)
cpu->HaltExecution(Dynarmic::HaltReason::MemoryAbort);