Common: Update BlockingLoop to only use one atomic.

This merges two atomic<bool> into one atomic<int>.
We did move the bit from one bool to another, now we can use operator--.
This commit is contained in:
degasus
2015-05-30 02:42:32 +02:00
parent 02a3a063c3
commit bfa61105d5
2 changed files with 87 additions and 37 deletions

View File

@ -368,7 +368,7 @@ void RunGpuLoop()
// don't release the GPU running state on sync GPU waits
fifo.isGpuReadingData = !run_loop;
}
});
}, 100);
AsyncRequests::GetInstance()->SetEnable(false);
AsyncRequests::GetInstance()->SetPassthrough(true);