mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Set a default save file path if none is provided.
This commit is contained in:
parent
34f8315c01
commit
cf7aae2d83
1 changed files with 2 additions and 0 deletions
|
|
@ -98,6 +98,8 @@ void ModLoader::Init()
|
|||
std::string saveFilePathU8 = configIni.getString("CPKREDIR", "SaveFileFallback", std::string());
|
||||
if (!saveFilePathU8.empty())
|
||||
ModLoader::s_saveFilePath = std::u8string_view((const char8_t*)saveFilePathU8.c_str());
|
||||
else
|
||||
ModLoader::s_saveFilePath = "mlsave/SYS-DATA";
|
||||
}
|
||||
|
||||
std::string modsDbIniFilePathU8 = configIni.getString("CPKREDIR", "ModsDbIni", "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue