mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
fix unsigned comparison bug (heh)
This commit is contained in:
parent
31472607d6
commit
f8c882dc51
@ -708,9 +708,9 @@ void ProcessMirrorHost()
|
||||
}
|
||||
}
|
||||
}*/
|
||||
u32 clientframes = *(u32*)event.packet->data;
|
||||
s32 clientframes = *(s32*)event.packet->data;
|
||||
//printf("[SYNC] HOST=%d CLIENT=%d\n", NDS::NumFrames, clientframes);
|
||||
if (clientframes < (NDS::NumFrames - 16))
|
||||
if (clientframes < (((s32)NDS::NumFrames) - 16))
|
||||
{
|
||||
event.peer->data = (void*)1;
|
||||
block = true;
|
||||
|
Loading…
Reference in New Issue
Block a user