mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Fifo: Make g_use_deterministic_gpu_thread a TU-local variable
This commit is contained in:
parent
5ebd1e215b
commit
32ce2be2bf
7 changed files with 29 additions and 24 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue