Improve version info on crash screen

This commit is contained in:
Agent X 2025-03-13 22:06:31 -04:00
parent 2dd17af4e1
commit c84afa7325

View file

@ -272,9 +272,8 @@ static void crash_handler_add_info_str(CrashHandlerText** pTextP, f32 x, f32 y,
static void crash_handler_add_version_str(CrashHandlerText** pTextP, f32 x, f32 y) {
CrashHandlerText* pText = *pTextP;
crash_handler_set_text(x, y, 0xFF, 0xFF, 0x00, "%s", "sm64coopdx ");
crash_handler_set_text(-1, y, 0x00, 0xFF, 0xFF, "%s", get_version());
crash_handler_set_text(x, y + 8, 0xFF, 0xFF, 0x00, "Renderer: %s", RAPI_NAME);
crash_handler_add_info_str(&pText, x, y, "Version", SM64COOPDX_VERSION);
crash_handler_add_info_str(&pText, x, y + 8, "Renderer", RAPI_NAME);
*pTextP = pText;
}