This commit is contained in:
Christian Semmler 2024-05-31 13:34:26 -04:00
parent c98a540ac5
commit 77285f0aaf

View File

@ -754,7 +754,7 @@ void IsleApp::LoadConfig()
strcpy(m_deviceId, deviceId); strcpy(m_deviceId, deviceId);
} }
// [library:config] The original does not save any data if no savepath is given. // [library:config] The original game does not save any data if no savepath is given.
// Instead, we use SDLs prefPath as a default fallback and always save data. // Instead, we use SDLs prefPath as a default fallback and always save data.
const char* savePath = iniparser_getstring(dict, "isle:savepath", prefPath); const char* savePath = iniparser_getstring(dict, "isle:savepath", prefPath);
m_savePath = new char[strlen(savePath) + 1]; m_savePath = new char[strlen(savePath) + 1];