Merge pull request #4451 from pmatos/SingleStepCheck

Enable maxinst to 1 only if singlestep exists and is enabled
This commit is contained in:
Ryan Houdek authored and GitHub committed 2025-03-28 14:45:40 -07:00
commit bf3275ba4a
1 file changed
+1 -1
+1 -1
View File
@@ -410,7 +410,7 @@ void ReloadMetaLayer() {
}
}
if (FEXCore::Config::Exists(FEXCore::Config::CONFIG_SINGLESTEP)) {
if (FEXCore::Config::Exists(FEXCore::Config::CONFIG_SINGLESTEP) && Meta->GetConv<bool>(FEXCore::Config::CONFIG_SINGLESTEP).value_or(false)) {
// Single stepping also enforces single instruction size blocks
Set(FEXCore::Config::ConfigOption::CONFIG_MAXINST, "1");
}