diff options
author | YamaArashi <shadow962@live.com> | 2016-09-30 18:45:14 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-09-30 18:45:14 -0700 |
commit | 9b50e911c8f1dff9a35c8ea43fada7401c7c8c76 (patch) | |
tree | 6c7200a7241a55c7834574a1065e6a7fe0f27794 /src/main.c | |
parent | 302e43fd9124a85d65a91e9a1a32635d87941036 (diff) |
clean up sound code
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c index 2a1cbc1b7..012f5536d 100644 --- a/src/main.c +++ b/src/main.c @@ -6,6 +6,7 @@ #include "rtc.h" #include "link.h" #include "rng.h" +#include "sound.h" extern struct SoundInfo gSoundInfo; extern u32 gUnknown_3004820; @@ -68,9 +69,7 @@ extern void c2_copyright_1(); extern u32 sub_80558AC(void); extern u32 sub_8055910(void); extern u32 sub_8055940(void); -extern void sound_something(void); extern void CheckForFlashMemory(void); -extern void sound_sources_off(void); void UpdateLinkAndCallCallbacks(void); void InitMainCallbacks(void); @@ -99,7 +98,7 @@ void AgbMain() RtcInit(); CheckForFlashMemory(); InitMainCallbacks(); - sound_sources_off(); + InitMapMusic(); SeedRngWithRtc(); gUnknown_3001BB4 = 0; @@ -142,7 +141,7 @@ void AgbMain() } PlayTimeCounter_Update(); - sound_something(); + MapMusicMain(); WaitForVBlank(); } } |