From 78792d7a5a725252a03876aeab1b9365134e3213 Mon Sep 17 00:00:00 2001 From: ParantezTech <12572227+par274@users.noreply.github.com> Date: Thu, 8 Oct 2026 17:30:09 +0300 Subject: [PATCH] [PlayGo] Expose runtime state reset Co-authored-by: Sekai <140012992+SekaixX@users.noreply.github.com> --- src/SharpEmu.Libs/PlayGo/PlayGoExports.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SharpEmu.Libs/PlayGo/PlayGoExports.cs b/src/SharpEmu.Libs/PlayGo/PlayGoExports.cs index e5a7d1e..6e50723 100644 --- a/src/SharpEmu.Libs/PlayGo/PlayGoExports.cs +++ b/src/SharpEmu.Libs/PlayGo/PlayGoExports.cs @@ -841,7 +841,7 @@ public static class PlayGoExports } } - internal static void ResetForTests() + public static void ResetRuntimeState() { lock (_stateGate) { @@ -856,6 +856,8 @@ public static class PlayGoExports Interlocked.Exchange(ref _locusTraceDiagnostics, 0); } + internal static void ResetForTests() => ResetRuntimeState(); + private enum PlayGoChunkIdKnowledge { Unknown,