diff options
author | Mary <me@thog.eu> | 2020-10-10 12:45:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 21:45:49 +1100 |
commit | c482718d2e1a6e4abe69c246bdaca8b21f898037 (patch) | |
tree | 319c8438b6830e8bede0d5b9e5fce23b14c0ca62 /Ryujinx.HLE/HOS/Services | |
parent | ace67ed324a70121cbe466a94c8b633a9826b921 (diff) |
surfaceflinger: Disable async buffer (#1603)
This fix a mistake I made during my original reimplementation of SurfaceFlinger by disabling async buffer.
This fix a memory corruption on Super Mario All-Stars 3D (Super Mario Sunshine & Super
Mario Galaxy now go ingame).
Thanks to @gdkchan for tracing the memory corruption.
Diffstat (limited to 'Ryujinx.HLE/HOS/Services')
-rw-r--r-- | Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueueCore.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueueCore.cs b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueueCore.cs index e900cd07..7f6f6c31 100644 --- a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueueCore.cs +++ b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/BufferQueueCore.cs @@ -50,7 +50,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger IsAbandoned = false; OverrideMaxBufferCount = 0; DequeueBufferCannotBlock = false; - UseAsyncBuffer = true; + UseAsyncBuffer = false; DefaultWidth = 1; DefaultHeight = 1; DefaultMaxBufferCount = 2; |