Fifo: Make g_use_deterministic_gpu_thread a TU-local variable

This commit is contained in:
Lioncash
2016-01-23 23:31:13 -05:00
parent 5ebd1e215b
commit 32ce2be2bf
7 changed files with 29 additions and 24 deletions

View File

@ -302,7 +302,7 @@ void GatherPipeBursted()
// if we aren't linked, we don't care about gather pipe data
if (!m_CPCtrlReg.GPLinkEnable)
{
if (IsOnThread() && !Fifo::g_use_deterministic_gpu_thread)
if (IsOnThread() && !Fifo::UseDeterministicGPUThread())
{
// In multibuffer mode is not allowed write in the same FIFO attached to the GPU.
// Fix Pokemon XD in DC mode.
@ -368,7 +368,7 @@ void UpdateInterrupts(u64 userdata)
void UpdateInterruptsFromVideoBackend(u64 userdata)
{
if (!Fifo::g_use_deterministic_gpu_thread)
if (!Fifo::UseDeterministicGPUThread())
CoreTiming::ScheduleEvent_Threadsafe(0, et_UpdateInterrupts, userdata);
}