From 7a2ef728cbab1f05fe14dbaba7529472bb41d736 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 5 Aug 2013 22:55:44 -0700 Subject: [PATCH] Schedule ts events using the same time frame. --- Core/CoreTiming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/CoreTiming.cpp b/Core/CoreTiming.cpp index d80eda97ec..2e29225390 100644 --- a/Core/CoreTiming.cpp +++ b/Core/CoreTiming.cpp @@ -204,7 +204,7 @@ void ScheduleEvent_Threadsafe(s64 cyclesIntoFuture, int event_type, u64 userdata { std::lock_guard lk(externalEventSection); Event *ne = GetNewTsEvent(); - ne->time = globalTimer + cyclesIntoFuture; + ne->time = GetTicks() + cyclesIntoFuture; ne->type = event_type; ne->next = 0; ne->userdata = userdata;