summaryrefslogtreecommitdiff
path: root/arm9/src/scrcmd_sound.c
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-08-04 21:09:49 +0200
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-08-04 21:09:49 +0200
commitac24b510d854953ef9d6f4b412a7de77da29757e (patch)
treee14d59fdca9797700b2845d693f5149dc3bea1c0 /arm9/src/scrcmd_sound.c
parent599ff56901be2bdee6e96d202a9210685b051daa (diff)
add void in parameter list
Diffstat (limited to 'arm9/src/scrcmd_sound.c')
-rw-r--r--arm9/src/scrcmd_sound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm9/src/scrcmd_sound.c b/arm9/src/scrcmd_sound.c
index 8e59c182..b0993387 100644
--- a/arm9/src/scrcmd_sound.c
+++ b/arm9/src/scrcmd_sound.c
@@ -37,7 +37,8 @@ THUMB_FUNC BOOL ScrCmd_PlayBgm(struct ScriptContext *ctx)
THUMB_FUNC BOOL ScrCmd_StopBgm(struct ScriptContext *ctx)
{
- u32 unk0 = FUN_02004124(ScriptReadHalfword(ctx));
+ ScriptReadHalfword(ctx);
+ u32 unk0 = FUN_02004124();
FUN_02005350(unk0, 0);
return FALSE;
}