mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-12 02:41:14 +00:00
Successfully load and save isle.ini
This commit is contained in:
parent
2ccc472fa4
commit
e149776c3e
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user