From a38467cc19e043158e11c77aa94c280d1f38dbd3 Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 17 Oct 2024 18:40:37 +1030 Subject: [PATCH] Core: Reset Memory Stack Pos In recompiler after running interpter code at non rdram location --- Source/Project64-core/N64System/Recompiler/Recompiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Project64-core/N64System/Recompiler/Recompiler.cpp b/Source/Project64-core/N64System/Recompiler/Recompiler.cpp index 622829fc3..b3ecf0fdd 100644 --- a/Source/Project64-core/N64System/Recompiler/Recompiler.cpp +++ b/Source/Project64-core/N64System/Recompiler/Recompiler.cpp @@ -280,6 +280,7 @@ void CRecompiler::RecompilerMain_Lookup_validate() m_System.m_OpCodes.ExecuteOps(m_System.CountPerOp()); opsExecuted += m_System.CountPerOp(); } + ResetMemoryStackPos(); if (g_SyncSystem) {