mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-07 08:01:16 +00:00
Fix crash when pausing in an invalid act
This commit is contained in:
parent
cc0ed0e8b7
commit
76d32bef42
1 changed files with 4 additions and 2 deletions
|
@ -2390,7 +2390,7 @@ void render_pause_my_score_coins(void) {
|
|||
void **courseNameTbl;
|
||||
u8 *courseName;
|
||||
void **actNameTbl;
|
||||
u8 *actName;
|
||||
u8 *actName = NULL;
|
||||
u8 courseIndex;
|
||||
u8 starFlags;
|
||||
|
||||
|
@ -2460,7 +2460,9 @@ void render_pause_my_score_coins(void) {
|
|||
} else {
|
||||
print_generic_string(TXT_STAR_X, 140, textUnfilledStar);
|
||||
}
|
||||
print_generic_string(ACT_NAME_X, 140, actName);
|
||||
if (actName != NULL) {
|
||||
print_generic_string(ACT_NAME_X, 140, actName);
|
||||
}
|
||||
#ifndef VERSION_JP
|
||||
print_generic_string(LVL_NAME_X, 157, &courseName[3]);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue