mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Improve version info on crash screen
This commit is contained in:
parent
2dd17af4e1
commit
c84afa7325
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue