SDL_Libretro 0.1.0
SDL3-power libretro frontend.
Loading...
Searching...
No Matches
Macros | Functions
SDL_libretro_physfs.h File Reference

SDL_libretro - zip loading with PhysFS. More...

Go to the source code of this file.

Macros

#define SDL_LIBRETRO_PHYSFS_MOUNT_POINT   "game"
 PhysFS mount point for archives.
 

Functions

bool SDL_Libretro_PhysFS_Init (SDL_Libretro *lr)
 Initialize PhysFS and route the libretro VFS through it.
 
bool SDL_Libretro_PhysFS_LoadGame (SDL_Libretro *lr, const char *gamePath)
 Archive-aware replacement for SDL_Libretro_LoadGame().
 
void SDL_Libretro_PhysFS_Quit (SDL_Libretro *lr)
 Tear down PhysFS, unmounting any active archive and restoring the plain SDL VFS on the given context.
 

Detailed Description

SDL_libretro - zip loading with PhysFS.

Enabled by defining SDL_LIBRETRO_ENABLE_PHYSFS alongside SDL_LIBRETRO_IMPLEMENTATION; requires the SDL VFS. Without it, the SDL_Libretro_PhysFS_* functions are stubs that fail with an error.

Definition in file SDL_libretro_physfs.h.

Macro Definition Documentation

◆ SDL_LIBRETRO_PHYSFS_MOUNT_POINT

#define SDL_LIBRETRO_PHYSFS_MOUNT_POINT   "game"

PhysFS mount point for archives.

Will be used to prefix the virtual content paths handed to cores.

Definition at line 34 of file SDL_libretro_physfs.h.