From ef1f08055abb1714540fa5e63d9d6b0c12cb3b10 Mon Sep 17 00:00:00 2001 From: Vova Date: Thu, 17 Apr 2025 09:05:52 +1000 Subject: [PATCH] resultHandler testing --- src/Ryujinx.Graphics.Gpu/Engine/Threed/SemaphoreUpdater.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.Gpu/Engine/Threed/SemaphoreUpdater.cs b/src/Ryujinx.Graphics.Gpu/Engine/Threed/SemaphoreUpdater.cs index a9a96d54a..880c93840 100644 --- a/src/Ryujinx.Graphics.Gpu/Engine/Threed/SemaphoreUpdater.cs +++ b/src/Ryujinx.Graphics.Gpu/Engine/Threed/SemaphoreUpdater.cs @@ -165,7 +165,11 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed Timestamp = ticks, }; - if (counter?.Invalid != true) + if (result <= 0) + { + return; + } + else if (counter?.Invalid != true) { _channel.MemoryManager.Write(gpuVa, counterData); }