summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-19 19:47:45 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 17:36:26 +0200
commit39e5b7294898c45cf247b61e46ef735bd16e96ae (patch)
tree5386810c59b46a2f81087be1ca8a58dd319995bb /src/video_core/gpu_thread.cpp
parentMaxwellDMA: Correct copying on accuracy level. (diff)
downloadyuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar
yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar.gz
yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar.bz2
yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar.lz
yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar.xz
yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.tar.zst
yuzu-39e5b7294898c45cf247b61e46ef735bd16e96ae.zip
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
-rw-r--r--src/video_core/gpu_thread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 7df854a2f..c3bb4fe06 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -84,6 +84,10 @@ void ThreadManager::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {
}
void ThreadManager::FlushRegion(VAddr addr, u64 size) {
+ if (!Settings::IsGPULevelHigh()) {
+ PushCommand(FlushRegionCommand(addr, size));
+ return;
+ }
if (!Settings::IsGPULevelExtreme()) {
return;
}