summaryrefslogtreecommitdiff
path: root/src/sound.c
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-05 22:31:01 +0800
committernullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-12-06 10:38:28 +0800
commitf9ff7316d5c7277eb7482e30121388cd65f4ecfc (patch)
treeee8f4a9c338f880a3585d6e9ed9ed695f27cef3d /src/sound.c
parent405f1bb529809b8169364737087189df0fcca1d2 (diff)
Remove uses of INVALID_ defines, clean up some arrays with constants, and spaces -> tabs
Diffstat (limited to 'src/sound.c')
-rw-r--r--src/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound.c b/src/sound.c
index 7798700c3..ba3f659cc 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -247,7 +247,7 @@ void FadeInNewBGM(u16 songNum, u8 speed)
{
if (gDisableMusic)
songNum = 0;
- if (songNum == INVALID_U16)
+ if (songNum == 0xFFFF)
songNum = 0;
m4aSongNumStart(songNum);
m4aMPlayImmInit(&gMPlayInfo_BGM);
@@ -544,7 +544,7 @@ void PlayBGM(u16 songNum)
{
if (gDisableMusic)
songNum = 0;
- if (songNum == INVALID_U16)
+ if (songNum == 0xFFFF)
songNum = 0;
m4aSongNumStart(songNum);
}