Add PS2 code for isle.ini path

This commit is contained in:
VoxelTek 2025-07-30 11:03:01 +10:00
parent 15d7948c30
commit 2ccc472fa4
2 changed files with 7 additions and 1 deletions

View File

@ -543,6 +543,10 @@ 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

@ -1023,8 +1023,10 @@ MxResult IsleApp::SetupWindow()
// FUNCTION: ISLE 0x4028d0
bool IsleApp::LoadConfig()
{
#ifdef IOS
#if defined(IOS)
const char* prefPath = SDL_GetUserFolder(SDL_FOLDER_DOCUMENTS);
#elif defined(PS2)
char* prefPath = "mc0:/isledecomp/isle";
#else
char* prefPath = SDL_GetPrefPath("isledecomp", "isle");
#endif