mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-03 18:14:26 +00:00
Fix a few warnings (#998)
* Fix some warnings * Revert warning fixes in audio code
This commit is contained in:
parent
a6554b4f84
commit
ed487b4bb8
4 changed files with 6 additions and 4 deletions
|
@ -908,6 +908,8 @@ void Environment_ClearBgsDayCount(void);
|
|||
s32 Environment_GetTotalDays(void);
|
||||
void func_800775F0(u16);
|
||||
s32 func_80077600(void);
|
||||
void func_80077624(GlobalContext* globalCtx);
|
||||
void func_80077684(GlobalContext* globalCtx);
|
||||
void Environment_WarpSongLeave(GlobalContext* globalCtx);
|
||||
void Lib_MemSet(u8* dest, size_t size, u8 val);
|
||||
f32 Math_CosS(s16 angle);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -981,8 +981,8 @@ void EnIn_PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec
|
|||
}
|
||||
|
||||
void EnIn_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
||||
static UNK_TYPE* D_80A7B9B4[] = { object_in_Tex_003590, object_in_Tex_0047D0, object_in_Tex_004BD0,
|
||||
object_in_Tex_004390 };
|
||||
static void* D_80A7B9B4[] = { object_in_Tex_003590, object_in_Tex_0047D0, object_in_Tex_004BD0,
|
||||
object_in_Tex_004390 };
|
||||
EnIn* this = THIS;
|
||||
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_in.c", 2384);
|
||||
|
|
Loading…
Add table
Reference in a new issue