Merge pull request #1546 from Sonicadvance1/fix_fexconfig

Fixes FEXConfig build
This commit is contained in:
Mai M authored and GitHub committed 2022-02-01 21:13:08 -05:00
commit d308a438ea
1 file changed
+2 -1
+2 -1
View File
@@ -201,9 +201,10 @@ namespace {
char EmulatedCPUCores[32]{};
if (ImGui::BeginTabItem("CPU")) {
std::optional<std::string*> Value{};
#ifdef INTERPRETER_ENABLED
ImGui::Text("Core:");
auto Value = LoadedConfig->Get(FEXCore::Config::ConfigOption::CONFIG_CORE);
Value = LoadedConfig->Get(FEXCore::Config::ConfigOption::CONFIG_CORE);
ImGui::SameLine();
if (ImGui::RadioButton("Int", Value.has_value() && **Value == "0")) {