Skip to content

Commit

Permalink
Merge pull request #4078 from Sonicadvance1/fix_envloader_stackusage
Browse files Browse the repository at this point in the history
Config: Fixes stack usage in EnvLoader
  • Loading branch information
lioncash authored Sep 22, 2024
2 parents 9310ac5 + 4897c1e commit 4f8d7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Common/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ void EnvLoader::Load() {
// Walk all the environment options and corresponding config option.
#define OPT_BASE(type, group, enum, json, default) \
Value = GetVar(EnvMap, "FEX_" #enum); \
if (Value.has_value()) Set(FEXCore::Config::ConfigOption::CONFIG_##enum, fextl::string(*Value));
if (Value.has_value()) Set(FEXCore::Config::ConfigOption::CONFIG_##enum, *Value);
#include <FEXCore/Config/ConfigValues.inl>
}

Expand Down

0 comments on commit 4f8d7cb

Please sign in to comment.