Skip to content

Commit

Permalink
cmake: Enable POSIX fsops code for PS2 and PSP.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 28, 2024
1 parent c0f1fe8 commit 1611337
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2672,7 +2672,9 @@ elseif(PSP)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/psp/*.c")
set(HAVE_SDL_FILESYSTEM TRUE)

# !!! FIXME: do we need a FSops implementation for this?
set(SDL_FSOPS_POSIX 1)
sdl_sources("${SDL3_SOURCE_DIR}/src/filesystem/posix/SDL_sysfsops.c")
set(HAVE_SDL_FSOPS TRUE)

if(SDL_JOYSTICK)
set(SDL_JOYSTICK_PSP 1)
Expand Down Expand Up @@ -2745,7 +2747,9 @@ elseif(PS2)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/ps2/*.c")
set(HAVE_SDL_FILESYSTEM TRUE)

# !!! FIXME: do we need a FSops implementation for this?
set(SDL_FSOPS_POSIX 1)
sdl_sources("${SDL3_SOURCE_DIR}/src/filesystem/posix/SDL_sysfsops.c")
set(HAVE_SDL_FSOPS TRUE)

if(SDL_JOYSTICK)
set(SDL_JOYSTICK_PS2 1)
Expand Down

0 comments on commit 1611337

Please sign in to comment.