1
0
Fork 0
forked from suyu/suyu

gpu_thread: (HACK) Ignore flush on FlushAndInvalidateRegion.

This commit is contained in:
bunnei 2019-02-09 02:55:45 -05:00
parent 3f1b4fb23a
commit 63aa08acbe

View file

@ -119,9 +119,7 @@ void ThreadManager::InvalidateRegion(VAddr addr, u64 size) {
}
void ThreadManager::FlushAndInvalidateRegion(VAddr addr, u64 size) {
// Block the CPU when using accurate emulation
PushCommand(FlushAndInvalidateRegionCommand(addr, size),
Settings::values.use_accurate_gpu_emulation, false);
InvalidateRegion(addr, size);
}
void ThreadManager::PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu) {