Improve accuratcy of CoreTiming::ScheduleEvent().
This commit is contained in:
parent
4fb6c8c0ac
commit
84b6c3a7c2
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ void ScheduleEvent(int cyclesIntoFuture, int event_type, u64 userdata)
|
|||
Event *ne = GetNewEvent();
|
||||
ne->userdata = userdata;
|
||||
ne->type = event_type;
|
||||
ne->time = globalTimer + cyclesIntoFuture;
|
||||
ne->time = GetTicks() + cyclesIntoFuture;
|
||||
AddEventToQueue(ne);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue