diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp index 001f6f51ee..7df5164698 100644 --- a/Source/Core/Common/Src/StringUtil.cpp +++ b/Source/Core/Common/Src/StringUtil.cpp @@ -360,6 +360,7 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _ if (_pExtension) { *_pExtension = full_path.substr(last_dot + 1); + _pExtension->insert(0, "."); } else if (_pFilename) { diff --git a/Source/Core/Core/Src/CoreParameter.cpp b/Source/Core/Core/Src/CoreParameter.cpp index 0e76213a6d..2cc2cdf833 100644 --- a/Source/Core/Core/Src/CoreParameter.cpp +++ b/Source/Core/Core/Src/CoreParameter.cpp @@ -144,4 +144,4 @@ bool SCoreStartupParameter::AutoSetup(EBootBios _BootBios) m_strSRAM = BaseDataPath + "/SRAM.raw"; return true; -} \ No newline at end of file +}