mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +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;
|
void **courseNameTbl;
|
||||||
u8 *courseName;
|
u8 *courseName;
|
||||||
void **actNameTbl;
|
void **actNameTbl;
|
||||||
u8 *actName;
|
u8 *actName = NULL;
|
||||||
u8 courseIndex;
|
u8 courseIndex;
|
||||||
u8 starFlags;
|
u8 starFlags;
|
||||||
|
|
||||||
|
|
@ -2460,7 +2460,9 @@ void render_pause_my_score_coins(void) {
|
||||||
} else {
|
} else {
|
||||||
print_generic_string(TXT_STAR_X, 140, textUnfilledStar);
|
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
|
#ifndef VERSION_JP
|
||||||
print_generic_string(LVL_NAME_X, 157, &courseName[3]);
|
print_generic_string(LVL_NAME_X, 157, &courseName[3]);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue