|
SDL_Libretro
SDL3-power libretro frontend.
|
SDL_libretro - core lifecycle implementation. More...
Go to the source code of this file.
Functions | |
| SDL_Libretro * | SDL_Libretro_Create (void) |
| Builds a libretro context. | |
| void | SDL_Libretro_Destroy (SDL_Libretro *lr) |
| Destroys the given libretro context. | |
| const char * | SDL_Libretro_GetContentExtension (const SDL_Libretro *lr) |
| Get the extension of the loaded content, as it appears in the path. | |
| const char * | SDL_Libretro_GetCoreName (const SDL_Libretro *lr) |
| Retrieve the name of the libretro core that's actively loaded. | |
| const char * | SDL_Libretro_GetCoreVersion (const SDL_Libretro *lr) |
| Retrieves the version of the libretro core that's actively loaded. | |
| size_t | SDL_Libretro_GetFileName (char *dst, size_t dstSize, const char *path, bool withExtension) |
| Copy the file name portion of a path into a caller-provided buffer. | |
| SDL_LogPriority | SDL_Libretro_GetLogLevel (const SDL_Libretro *lr) |
| Retrieve the threshold for logs that will be posted. | |
| unsigned | SDL_Libretro_GetPerformanceLevel (const SDL_Libretro *lr) |
| Get the performance level the core requested via SET_PERFORMANCE_LEVEL. | |
| size_t | SDL_Libretro_GetSavePath (const SDL_Libretro *lr, const char *extension, char *dst, size_t dstSize) |
| Build a path in the save directory for the currently loaded content. | |
| const char * | SDL_Libretro_GetValidExtensions (const SDL_Libretro *lr) |
| Gets the default set of valid extensions associated with the core, seperated by a "|". | |
| bool | SDL_Libretro_LoadCore (SDL_Libretro *lr, const char *corePath) |
| Loads a libretro core. | |
| bool | SDL_Libretro_LoadGame (SDL_Libretro *lr, const char *gamePath) |
| Loads a game at the given path. | |
| bool | SDL_Libretro_SetCoreDirectory (SDL_Libretro *lr, const char *path) |
| Sets the associated libretro core directory, where the default set of cores will be loaded from. | |
| void | SDL_Libretro_SetLogLevel (SDL_Libretro *lr, SDL_LogPriority level) |
| Sets the threshold for logs to be posted. | |
| void | SDL_Libretro_SetVolume (SDL_Libretro *lr, float volume) |
| Set the audio volume when playing sounds. | |
| bool | SDL_Libretro_ShouldQuit (const SDL_Libretro *lr) |
| Indicates whether or not the core has requested to shutdown. | |
| void | SDL_Libretro_UnloadCore (SDL_Libretro *lr) |
| Unloads the actively loaded core. | |
| void | SDL_Libretro_UnloadGame (SDL_Libretro *lr) |
| Unloads the actively loaded game. | |
SDL_libretro - core lifecycle implementation.
Definition in file SDL_libretro_core.h.