From e149776c3e2dca14f6ee6dfbc21946125e7f93f7 Mon Sep 17 00:00:00 2001 From: VoxelTek <53562267+VoxelTek@users.noreply.github.com> Date: Wed, 30 Jul 2025 12:21:57 +1000 Subject: [PATCH] Successfully load and save `isle.ini` --- CMakeLists.txt | 4 ---- ISLE/isleapp.cpp | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) 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