mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 16:41:51 +01:00
GPU NEW MARGEBAC
This commit is contained in:
parent
7670c83405
commit
4de89c8839
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user