mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-12 18:51:15 +00:00
Add PS2 code for isle.ini path
This commit is contained in:
parent
15d7948c30
commit
2ccc472fa4
@ -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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user