mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-06 23:51:17 +00:00
Play menu music in main menu
This commit is contained in:
parent
ee53beb10b
commit
f71cb26f64
1 changed files with 7 additions and 0 deletions
|
@ -1373,6 +1373,13 @@ s32 lvl_init_or_update(s16 initOrUpdate, UNUSED s32 unused) {
|
|||
switch (initOrUpdate) {
|
||||
case 0:
|
||||
result = init_level();
|
||||
|
||||
// HACK: play main menu music
|
||||
// this is in a terrible spot but I couldn't find a better one.
|
||||
if (gDjuiInMainMenu) {
|
||||
set_background_music(0, 0x0021, 0);
|
||||
}
|
||||
|
||||
break;
|
||||
case 1:
|
||||
result = update_level();
|
||||
|
|
Loading…
Reference in a new issue