mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +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) {
|
switch (initOrUpdate) {
|
||||||
case 0:
|
case 0:
|
||||||
result = init_level();
|
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;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
result = update_level();
|
result = update_level();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue