Successfully load and save isle.ini

This commit is contained in:
VoxelTek 2025-07-30 12:21:57 +10:00
parent 2ccc472fa4
commit e149776c3e
2 changed files with 2 additions and 6 deletions

View File

@ -543,10 +543,6 @@ if (ISLE_BUILD_APP)
if (WIN32)
target_link_libraries(isle PRIVATE winmm)
endif()
if (PS2)
target_link_libraries(isle PRIVATE mcman)
target_link_libraries(isle PRIVATE sio2man)
endif()
# Link LEGO1
target_link_libraries(isle PRIVATE lego1)
if(ISLE_DEBUG)

View File

@ -1026,7 +1026,7 @@ bool IsleApp::LoadConfig()
#if defined(IOS)
const char* prefPath = SDL_GetUserFolder(SDL_FOLDER_DOCUMENTS);
#elif defined(PS2)
char* prefPath = "mc0:/isledecomp/isle";
const char* prefPath = "mc0:ISLE/";
#else
char* prefPath = SDL_GetPrefPath("isledecomp", "isle");
#endif
@ -1229,7 +1229,7 @@ bool IsleApp::LoadConfig()
iniparser_freedict(dict);
delete[] iniConfig;
#ifndef IOS
#if !defined(IOS) && !defined(PS2)
SDL_free(prefPath);
#endif