mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 17:29:08 +01:00
gpu_thread: (HACK) Ignore flush on FlushAndInvalidateRegion.
This commit is contained in:
parent
3f1b4fb23a
commit
63aa08acbe
1 changed files with 1 additions and 3 deletions
|
@ -119,9 +119,7 @@ void ThreadManager::InvalidateRegion(VAddr addr, u64 size) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ThreadManager::FlushAndInvalidateRegion(VAddr addr, u64 size) {
|
void ThreadManager::FlushAndInvalidateRegion(VAddr addr, u64 size) {
|
||||||
// Block the CPU when using accurate emulation
|
InvalidateRegion(addr, size);
|
||||||
PushCommand(FlushAndInvalidateRegionCommand(addr, size),
|
|
||||||
Settings::values.use_accurate_gpu_emulation, false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ThreadManager::PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu) {
|
void ThreadManager::PushCommand(CommandData&& command_data, bool wait_for_idle, bool allow_on_cpu) {
|
||||||
|
|
Loading…
Reference in a new issue