summaryrefslogtreecommitdiff
path: root/src/code/audio_load.c
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2021-08-19 18:10:51 -0400
committerGitHub <noreply@github.com>2021-08-19 18:10:51 -0400
commit0042acb539cad270ebba48247becc877541b445e (patch)
tree6797151f1a6f306d963a597d2570a827ed580a08 /src/code/audio_load.c
parent8e19b91e8088c6a370eca21fe7283740de92a119 (diff)
cleanup warnings (#907)
* cleanup warnings * remove camera header from some places * Remove extra new line
Diffstat (limited to 'src/code/audio_load.c')
-rw-r--r--src/code/audio_load.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/code/audio_load.c b/src/code/audio_load.c
index 15a55b0bc..acc9dfa06 100644
--- a/src/code/audio_load.c
+++ b/src/code/audio_load.c
@@ -297,13 +297,12 @@ s32 func_800E1D64(s32 arg0, s32 arg1, s32 arg2) {
}
func_800E1C78(instrument->normalNotesSound.sample, arg0);
if (instrument->normalRangeHi != 0x7F) {
- func_800E1C78(instrument->highNotesSound.sample, arg0);
- return;
+ return func_800E1C78(instrument->highNotesSound.sample, arg0);
}
} else if (arg1 == 0x7F) {
Drum* drum = Audio_GetDrum(arg0, arg2);
- if (drum == 0) {
+ if (drum == NULL) {
return -1;
}
func_800E1C78(drum->sound.sample, arg0);