diff options
| author | JosJuice <josjuice@gmail.com> | 2016-07-07 15:52:08 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2016-08-11 12:45:57 +0200 |
| commit | 3443a1003089459029bf42ead4c5aabc9898be90 (patch) | |
| tree | d1c42bb2fdad98ab2cc9ca53cc60537a8fb0edd3 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | 088f7eaa3d3719d99a1c40ec6aa0a5a2ea8e585b (diff) | |
CoreTiming: Merge ScheduleEvent variants into one function
Now Core::IsCPUThread() only gets called once when using the AnyThread
variant. Also, I think the enum approach makes calling code clearer.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/CommandProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp index 2b82173110..0cf8dd3b7b 100644 --- a/Source/Core/VideoCommon/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/CommandProcessor.cpp @@ -343,7 +343,7 @@ void UpdateInterrupts(u64 userdata) void UpdateInterruptsFromVideoBackend(u64 userdata) { if (!Fifo::UseDeterministicGPUThread()) - CoreTiming::ScheduleEvent_Threadsafe(0, et_UpdateInterrupts, userdata); + CoreTiming::ScheduleEvent(0, et_UpdateInterrupts, userdata, CoreTiming::FromThread::NON_CPU); } bool IsInterruptWaiting() |
