Fix warnings

This commit is contained in:
Seeky 2024-01-01 21:48:12 +00:00
parent 779cbb886e
commit 543a218dd2
2 changed files with 3 additions and 3 deletions

View File

@ -48,5 +48,5 @@ void OSPanic(const char * filename, s32 line, const char * msg, ...)
// Halt execution
OSDisableInterrupts();
PPCHalt();
while (1);
while (1) { }
}

View File

@ -273,7 +273,7 @@ void pouchMain()
wp2->unknown_0x0 = 0;
wp2->unknown_0x10 = 0;
msec = OSTicksToMilliseconds(wp2->unknown_0x8);
msec = (s32) OSTicksToMilliseconds(wp2->unknown_0x8);
if (abs(wp2->unknown_0x14 - msec) > (s32) (1500.0f / gp->gameSpeed))
{
wp2->unknown_0x14 = msec;
@ -314,7 +314,7 @@ void pouchMain()
wp2->unknown_0x8 = 0;
wp2->unknown_0x14 = 0;
msec = OSTicksToMilliseconds(wp2->unknown_0x0);
msec = (s32) OSTicksToMilliseconds(wp2->unknown_0x0);
if (abs(wp2->unknown_0x10 - msec) > (s32) (1500.0f / gp->gameSpeed))
{
wp2->unknown_0x10 = msec;