diff --git a/CMakeLists.txt b/CMakeLists.txt index 1113d373..07b9bd64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index ea235994..b0b88d5e 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -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