From cadd5c7f2e9f9cf03d90b47cb1ca9c7cc53b26f7 Mon Sep 17 00:00:00 2001 From: Sergio Martin Date: Thu, 23 May 2024 20:09:49 +0200 Subject: [PATCH] Fixing a wrong variable name that caused a crash in GPGX's load state --- .../Consoles/Sega/gpgx64/GPGX.IDebuggable.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.IDebuggable.cs b/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.IDebuggable.cs index 1d201d55fe..90f4fc6fa4 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.IDebuggable.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.IDebuggable.cs @@ -99,9 +99,9 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx private void RefreshMemCallbacks() { Core.gpgx_set_mem_callback( - MemoryCallbacks.HasReads ? ReadCallback : null, - MemoryCallbacks.HasWrites ? WriteCallback : null, - MemoryCallbacks.HasExecutes ? ExecCallback : null); + _memoryCallbacks.HasReads ? ReadCallback : null, + _memoryCallbacks.HasWrites ? WriteCallback : null, + _memoryCallbacks.HasExecutes ? ExecCallback : null); } private void KillMemCallbacks()