From 68b5a905180801ba20512e8d07472fd1ce10234d Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Fri, 28 Mar 2025 14:11:26 +0100 Subject: [PATCH] Enable maxinst to 1 only if singlestep exists and is enabled --- FEXCore/Source/Interface/Config/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FEXCore/Source/Interface/Config/Config.cpp b/FEXCore/Source/Interface/Config/Config.cpp index 5c47d6fed..20dabbbda 100644 --- a/FEXCore/Source/Interface/Config/Config.cpp +++ b/FEXCore/Source/Interface/Config/Config.cpp @@ -420,7 +420,7 @@ void ReloadMetaLayer() { } } - if (FEXCore::Config::Exists(FEXCore::Config::CONFIG_SINGLESTEP)) { + if (FEXCore::Config::Exists(FEXCore::Config::CONFIG_SINGLESTEP) && Meta->GetConv(FEXCore::Config::CONFIG_SINGLESTEP).value_or(false)) { // Single stepping also enforces single instruction size blocks Set(FEXCore::Config::ConfigOption::CONFIG_MAXINST, "1"); }