mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-12 10:29:24 +00:00
Adds new ParanoidTSO option
This commit is contained in:
parent
5e6c6adf8b
commit
849b83bd02
@ -188,6 +188,14 @@
|
||||
"Removes the calculation of the parity flag from GPR instructions.",
|
||||
"Assuming no uses rely on it"
|
||||
]
|
||||
},
|
||||
"ParanoidTSO": {
|
||||
"Type": "bool",
|
||||
"Default": "false",
|
||||
"Desc": [
|
||||
"Makes TSO operations even more strict.",
|
||||
"Forces vector loadstores to also become atomic."
|
||||
]
|
||||
}
|
||||
},
|
||||
"Misc": {
|
||||
|
@ -439,6 +439,13 @@ namespace {
|
||||
ConfigChanged = true;
|
||||
}
|
||||
|
||||
Value = LoadedConfig->Get(FEXCore::Config::ConfigOption::CONFIG_PARANOIDTSO);
|
||||
bool ParanoidTSOEnabled = Value.has_value() && **Value == "1";
|
||||
if (ImGui::Checkbox("Paranoid TSO Enabled", &ParanoidTSOEnabled)) {
|
||||
LoadedConfig->EraseSet(FEXCore::Config::ConfigOption::CONFIG_PARANOIDTSO, ParanoidTSOEnabled ? "1" : "0");
|
||||
ConfigChanged = true;
|
||||
}
|
||||
|
||||
ImGui::Text("SMC Checks: ");
|
||||
int SMCChecks = FEXCore::Config::CONFIG_SMC_MMAN;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user