mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 08:20:30 +02:00
Fix integer overflow in scheduling.
This commit is contained in:
1 parent
b72ac7d7f0
commit
6ecf2d235c
4 files changed
+23
-18
No files matched your search
@@ -1024,7 +1024,8 @@ void hleScheduledWakeup(u64 userdata, int cyclesLate)
|
||||
|
||||
void __KernelScheduleWakeup(SceUID threadID, int usFromNow)
|
||||
{
|
||||
CoreTiming::ScheduleEvent(usToCycles(usFromNow), eventScheduledWakeup, threadID);
|
||||
s64 cycles = usToCycles(usFromNow);
|
||||
CoreTiming::ScheduleEvent(cycles, eventScheduledWakeup, threadID);
|
||||
}
|
||||
|
||||
void __KernelCancelWakeup(SceUID threadID)
|
||||
|
||||
Reference in new issue
Block a user