GPU NEW MARGEBAC

This commit is contained in:
Billy Laws 2022-10-25 22:14:21 +01:00
parent 7670c83405
commit 4de89c8839

View File

@ -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
}
}