diff --git a/External/FEXCore/Source/Interface/Config/Config.cpp b/External/FEXCore/Source/Interface/Config/Config.cpp index e972bf7f4..34ac407f7 100644 --- a/External/FEXCore/Source/Interface/Config/Config.cpp +++ b/External/FEXCore/Source/Interface/Config/Config.cpp @@ -90,6 +90,10 @@ namespace FEXCore::Config { } std::string ExpandPath(std::string PathName) { + if (PathName.empty()) { + return {}; + } + std::filesystem::path Path{PathName}; // Expand home if it exists