mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-17 00:56:23 +01:00
Never free memory for GPU dirty buffers
Fixes Persona 5 textures in some cases due to overlaps with textures.
This commit is contained in:
parent
1dd13e90b0
commit
8baf06c9ab
@ -387,7 +387,6 @@ namespace skyline::gpu {
|
|||||||
SynchronizeHost(true); // Will transition the Buffer to Clean
|
SynchronizeHost(true); // Will transition the Buffer to Clean
|
||||||
|
|
||||||
dirtyState = DirtyState::GpuDirty;
|
dirtyState = DirtyState::GpuDirty;
|
||||||
gpu.state.process->memory.FreeMemory(mirror); // All data can be paged out from the guest as the guest mirror won't be used
|
|
||||||
|
|
||||||
BlockAllCpuBackingWrites();
|
BlockAllCpuBackingWrites();
|
||||||
AdvanceSequence(); // The GPU will modify buffer contents so advance to the next sequence
|
AdvanceSequence(); // The GPU will modify buffer contents so advance to the next sequence
|
||||||
|
Loading…
x
Reference in New Issue
Block a user