mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
VideoCommon/AsyncRequests: Remove now unnecessary SetEnable function. Requests are now always enabled. Call SetPassthrough on initialization to not be racy.
This commit is contained in:
@@ -287,9 +287,6 @@ void FifoManager::ResetVideoBuffer()
|
||||
// Purpose: Keep the Core HW updated about the CPU-GPU distance
|
||||
void FifoManager::RunGpuLoop()
|
||||
{
|
||||
AsyncRequests::GetInstance()->SetEnable(true);
|
||||
AsyncRequests::GetInstance()->SetPassthrough(false);
|
||||
|
||||
m_gpu_mainloop.Run(
|
||||
[this] {
|
||||
// Run events from the CPU thread.
|
||||
@@ -391,9 +388,6 @@ void FifoManager::RunGpuLoop()
|
||||
}
|
||||
},
|
||||
100);
|
||||
|
||||
AsyncRequests::GetInstance()->SetEnable(false);
|
||||
AsyncRequests::GetInstance()->SetPassthrough(true);
|
||||
}
|
||||
|
||||
void FifoManager::FlushGpu()
|
||||
|
||||
Reference in New Issue
Block a user