mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Fix macOS compilation
This commit is contained in:
parent
beb003df5f
commit
ac20101490
4 changed files with 1 additions and 1 deletions
BIN
lib/discordsdk/aarch64/discord_game_sdk.bundle
Normal file
BIN
lib/discordsdk/aarch64/discord_game_sdk.bundle
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -553,6 +553,7 @@ void save_file_collect_star_or_key(s16 coinScore, s16 starIndex, u8 fromNetwork)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s32 index = gLevelValues.useGlobalStarIds ? starByte : courseIndex;
|
||||||
switch (gCurrLevelNum) {
|
switch (gCurrLevelNum) {
|
||||||
case LEVEL_BOWSER_1:
|
case LEVEL_BOWSER_1:
|
||||||
if (!(save_file_get_flags() & (SAVE_FLAG_HAVE_KEY_1 | SAVE_FLAG_UNLOCKED_BASEMENT_DOOR))) {
|
if (!(save_file_get_flags() & (SAVE_FLAG_HAVE_KEY_1 | SAVE_FLAG_UNLOCKED_BASEMENT_DOOR))) {
|
||||||
|
@ -570,7 +571,6 @@ void save_file_collect_star_or_key(s16 coinScore, s16 starIndex, u8 fromNetwork)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
s32 index = gLevelValues.useGlobalStarIds ? starByte : courseIndex;
|
|
||||||
if (!(save_file_get_star_flags(fileIndex, index) & starFlag)) {
|
if (!(save_file_get_star_flags(fileIndex, index) & starFlag)) {
|
||||||
save_file_set_star_flags(fileIndex, index, starFlag);
|
save_file_set_star_flags(fileIndex, index, starFlag);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue