diff --git a/Source/Common/Config.cpp b/Source/Common/Config.cpp index c423d22e0..62fa61f94 100644 --- a/Source/Common/Config.cpp +++ b/Source/Common/Config.cpp @@ -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;