Make JUT showAssert_f_va just log and exit

Normally it tries to draw the error on screen, but the wait on vblank just infinite loops for us.
This commit is contained in:
PJB3005
2026-02-24 23:01:29 +01:00
parent 68fabb248a
commit 5d496baee4
+5
View File
@@ -90,6 +90,10 @@ void showAssert_f_va(u32 device, const char* file, int line, const char* msg, va
sMessageLife = -1;
vsnprintf(sMessageString, 255, msg, args);
#if TARGET_PC
OSReport_Error("Failed assertion: %s:%d\n", file, line);
OSReport_Error("%s\n", sMessageString);
#else
if (device & 2) {
OSReport("Failed assertion: %s:%d\n", file, line);
OSReport("%s\n", sMessageString);
@@ -121,6 +125,7 @@ void showAssert_f_va(u32 device, const char* file, int line, const char* msg, va
}
}
}
#endif
}
void showAssert_f(u32 device, const char* file, int line, const char* msg, ...) {