1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-05 23:44:53 +00:00

cleanup warnings (#907)

* cleanup warnings

* remove camera header from some places

* Remove extra new line
This commit is contained in:
louist103 2021-08-19 18:10:51 -04:00 committed by GitHub
parent 8e19b91e80
commit 0042acb539
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 69 additions and 101 deletions

View file

@ -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);