mirror of
https://github.com/SeekyCt/spm-decomp.git
synced 2024-11-26 23:00:34 +00:00
Fix warnings
This commit is contained in:
parent
779cbb886e
commit
543a218dd2
@ -48,5 +48,5 @@ void OSPanic(const char * filename, s32 line, const char * msg, ...)
|
|||||||
// Halt execution
|
// Halt execution
|
||||||
OSDisableInterrupts();
|
OSDisableInterrupts();
|
||||||
PPCHalt();
|
PPCHalt();
|
||||||
while (1);
|
while (1) { }
|
||||||
}
|
}
|
||||||
|
@ -273,7 +273,7 @@ void pouchMain()
|
|||||||
wp2->unknown_0x0 = 0;
|
wp2->unknown_0x0 = 0;
|
||||||
wp2->unknown_0x10 = 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))
|
if (abs(wp2->unknown_0x14 - msec) > (s32) (1500.0f / gp->gameSpeed))
|
||||||
{
|
{
|
||||||
wp2->unknown_0x14 = msec;
|
wp2->unknown_0x14 = msec;
|
||||||
@ -314,7 +314,7 @@ void pouchMain()
|
|||||||
wp2->unknown_0x8 = 0;
|
wp2->unknown_0x8 = 0;
|
||||||
wp2->unknown_0x14 = 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))
|
if (abs(wp2->unknown_0x10 - msec) > (s32) (1500.0f / gp->gameSpeed))
|
||||||
{
|
{
|
||||||
wp2->unknown_0x10 = msec;
|
wp2->unknown_0x10 = msec;
|
||||||
|
Loading…
Reference in New Issue
Block a user