Fix warning

This commit is contained in:
Angie 2024-05-30 23:04:03 -04:00
parent 17a5ab9fce
commit 0fcdd1f7ce

View file

@ -53,7 +53,7 @@ bool recomp::rsp::run_task(uint8_t* rdram, const OSTask* task) {
// Ensure that the ucode exited correctly // Ensure that the ucode exited correctly
if (exit_reason != RspExitReason::Broke) { if (exit_reason != RspExitReason::Broke) {
fprintf(stderr, "RSP ucode %" PRIu32 " exited unexpectedly. exit_reason: %i\n", task->t.type, exit_reason); fprintf(stderr, "RSP ucode %" PRIu32 " exited unexpectedly. exit_reason: %i\n", task->t.type, static_cast<int>(exit_reason));
assert(exit_reason == RspExitReason::Broke); assert(exit_reason == RspExitReason::Broke);
return false; return false;
} }