1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 15:04:31 +00:00

Fix a few warnings (#998)

* Fix some warnings

* Revert warning fixes in audio code
This commit is contained in:
Dragorn421 2021-10-11 22:16:43 +02:00 committed by GitHub
parent a6554b4f84
commit ed487b4bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View file

@ -45,7 +45,7 @@ s32 func_800BB2B4(Vec3f* pos, f32* roll, f32* fov, CutsceneCameraPoint* point, s
pointData[i][4] = point[key + i].viewAngle;
}
func_800BB0A0(progress, pos, roll, fov, &pointData[0], &pointData[1], &pointData[2], &pointData[3]);
func_800BB0A0(progress, pos, roll, fov, pointData[0], pointData[1], pointData[2], pointData[3]);
if (point[*keyFrame + 1].nextPointFrame != 0) {
speed1 = 1.0f / point[*keyFrame + 1].nextPointFrame;

View file

@ -383,7 +383,7 @@ void Sram_OpenSave(SramContext* sramCtx) {
MemCopy(gScarecrowCustomSongPtr, &gSaveContext.scarecrowCustomSong, 0x360);
ptr = gScarecrowCustomSongPtr;
ptr = (u8*)gScarecrowCustomSongPtr;
for (i = 0; i < 0x360; i++, ptr++) {
osSyncPrintf("%d, ", *ptr);
}