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
4 changed files with 6 additions and 4 deletions
+1 -1
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;
+1 -1
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);
}