From 8baf06c9ab5f4007da8f895b069289044635e1eb Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Mon, 20 Feb 2023 17:30:58 +0000 Subject: [PATCH] Never free memory for GPU dirty buffers Fixes Persona 5 textures in some cases due to overlaps with textures. --- app/src/main/cpp/skyline/gpu/buffer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/buffer.cpp b/app/src/main/cpp/skyline/gpu/buffer.cpp index f1f20e68..07506fa5 100644 --- a/app/src/main/cpp/skyline/gpu/buffer.cpp +++ b/app/src/main/cpp/skyline/gpu/buffer.cpp @@ -387,7 +387,6 @@ namespace skyline::gpu { SynchronizeHost(true); // Will transition the Buffer to Clean 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(); AdvanceSequence(); // The GPU will modify buffer contents so advance to the next sequence