isleapp: Don't create new config if manually set

This commit is contained in:
AllMeatball 2025-05-12 17:25:01 -05:00
parent 0b791db939
commit 48964f5470

View File

@ -548,6 +548,11 @@ bool IsleApp::LoadConfig()
// [library:config]
// Load sane defaults if dictionary failed to load
if (!dict) {
if (m_iniPath) {
SDL_Log("Invalid config path '%s'", m_iniPath);
return false;
}
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Loading sane defaults");
FILE* iniFP = fopen(iniConfig, "wb");