From 4de89c8839fbe1c74c583d5eb37ab430e7678f96 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Tue, 25 Oct 2022 22:14:21 +0100 Subject: [PATCH] GPU NEW MARGEBAC --- app/src/main/cpp/skyline/gpu/texture/texture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/skyline/gpu/texture/texture.cpp b/app/src/main/cpp/skyline/gpu/texture/texture.cpp index 9ca7934b..1fc919e3 100644 --- a/app/src/main/cpp/skyline/gpu/texture/texture.cpp +++ b/app/src/main/cpp/skyline/gpu/texture/texture.cpp @@ -755,7 +755,7 @@ namespace skyline::gpu { { std::scoped_lock lock{stateMutex}; - if (dirtyState == DirtyState::Clean && gpuDirty) + if (dirtyState != DirtyState::CpuDirty && gpuDirty) gpu.state.nce->PageOutRegions(*trapHandle); // All data can be paged out from the guest as the guest mirror won't be used } } @@ -792,7 +792,7 @@ namespace skyline::gpu { { std::scoped_lock lock{stateMutex}; - if (dirtyState == DirtyState::Clean && gpuDirty) + if (dirtyState != DirtyState::CpuDirty && gpuDirty) gpu.state.nce->PageOutRegions(*trapHandle); // All data can be paged out from the guest as the guest mirror won't be used } }