SDL_Libretro
SDL3-power libretro frontend.
Loading...
Searching...
No Matches
Functions
SDL_libretro_options.h File Reference

SDL_libretro - core options management. More...

Go to the source code of this file.

Functions

bool SDL_Libretro_AreOptionsDirty (SDL_Libretro *lr)
 Retrieves whether the options have been changed since the last time they were checked.
 
bool SDL_Libretro_CycleOptionValue (SDL_Libretro *lr, const char *key, int direction)
 Advance a core option to the next (+1) or previous (-1) value.
 
const SDL_LibretroCategory * SDL_Libretro_GetCategory (const SDL_Libretro *lr, const char *key)
 Retrieve an option category by key, or NULL if there's no such category.
 
const SDL_LibretroCategory * SDL_Libretro_GetCategoryByIndex (const SDL_Libretro *lr, unsigned index)
 Retrieve an option category by index, or NULL if out of range.
 
unsigned SDL_Libretro_GetCategoryCount (const SDL_Libretro *lr)
 Get the number of option categories registered by the core.
 
const SDL_LibretroOption * SDL_Libretro_GetOption (const SDL_Libretro *lr, const char *key)
 Retrieve details about a given core option.
 
const SDL_LibretroOption * SDL_Libretro_GetOptionByIndex (const SDL_Libretro *lr, unsigned index)
 Retrieve a core option by its registration index, or NULL if out of range.
 
unsigned SDL_Libretro_GetOptionCount (const SDL_Libretro *lr)
 Get the number of core options that have been set.
 
const char * SDL_Libretro_GetOptionValue (SDL_Libretro *lr, const char *key)
 Get a core option's current value, or NULL if there's no such option.
 
const char * SDL_Libretro_GetOptionValueLabel (SDL_Libretro *lr, const char *key)
 Get the human-readable label for a core option's current value.
 
void SDL_Libretro_ResetAllOptions (SDL_Libretro *lr)
 Reset every core option to its default value.
 
bool SDL_Libretro_ResetOption (SDL_Libretro *lr, const char *key)
 Reset a core option to its default value.
 
bool SDL_Libretro_SetOptionValue (SDL_Libretro *lr, const char *key, const char *value)
 Set a core option's value; fails if the value isn't one the core declared.
 

Detailed Description

SDL_libretro - core options management.

Definition in file SDL_libretro_options.h.