Merge pull request #5365 from Sonicadvance1/111

Config: Fix issue with config overrides
This commit is contained in:
Ryan Houdek authored and GitHub committed 2026-03-13 11:51:51 -07:00
commit 5c1300a2b9
1 file changed
+1 -1
+1 -1
View File
@@ -634,7 +634,7 @@ fextl::string GetDataDirectory(bool Global, const PortableInformation& PortableI
fextl::string GetConfigDirectory(bool Global, const PortableInformation& PortableInfo) {
const char* ConfigOverride = getenv("FEX_APP_CONFIG_LOCATION");
if (PortableInfo.IsPortable && (Global || !ConfigOverride)) {
if (PortableInfo.IsPortable && Global) {
return fextl::fmt::format("{}/fex-emu/", PortableInfo.InterpreterPath);
} else if (ConfigOverride && !Global) {
fextl::string AppConfigStr = ConfigOverride;