mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Move structs to configuration.h
This commit is contained in:
parent
c87cb567d7
commit
1b057a0c71
@ -46,55 +46,6 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
struct config_bool_setting
|
||||
{
|
||||
const char *ident;
|
||||
bool value;
|
||||
};
|
||||
|
||||
struct config_bool_setting_ptr
|
||||
{
|
||||
const char *ident;
|
||||
bool *ptr;
|
||||
};
|
||||
|
||||
struct config_int_setting_ptr
|
||||
{
|
||||
const char *ident;
|
||||
unsigned *ptr;
|
||||
};
|
||||
|
||||
struct config_int_setting
|
||||
{
|
||||
const char *ident;
|
||||
unsigned value;
|
||||
};
|
||||
|
||||
struct config_float_setting_ptr
|
||||
{
|
||||
const char *ident;
|
||||
float *ptr;
|
||||
};
|
||||
|
||||
struct config_float_setting
|
||||
{
|
||||
const char *ident;
|
||||
float value;
|
||||
};
|
||||
|
||||
struct config_string_setting
|
||||
{
|
||||
const char *ident;
|
||||
const char *value;
|
||||
};
|
||||
|
||||
struct config_path_setting
|
||||
{
|
||||
const char *ident;
|
||||
bool defaults;
|
||||
const char *value;
|
||||
};
|
||||
|
||||
struct defaults g_defaults;
|
||||
static settings_t *configuration_settings = NULL;
|
||||
|
||||
|
@ -33,6 +33,55 @@ RETRO_BEGIN_DECLS
|
||||
|
||||
/* All config related settings go here. */
|
||||
|
||||
struct config_bool_setting
|
||||
{
|
||||
const char *ident;
|
||||
bool value;
|
||||
};
|
||||
|
||||
struct config_bool_setting_ptr
|
||||
{
|
||||
const char *ident;
|
||||
bool *ptr;
|
||||
};
|
||||
|
||||
struct config_int_setting_ptr
|
||||
{
|
||||
const char *ident;
|
||||
unsigned *ptr;
|
||||
};
|
||||
|
||||
struct config_int_setting
|
||||
{
|
||||
const char *ident;
|
||||
unsigned value;
|
||||
};
|
||||
|
||||
struct config_float_setting_ptr
|
||||
{
|
||||
const char *ident;
|
||||
float *ptr;
|
||||
};
|
||||
|
||||
struct config_float_setting
|
||||
{
|
||||
const char *ident;
|
||||
float value;
|
||||
};
|
||||
|
||||
struct config_string_setting
|
||||
{
|
||||
const char *ident;
|
||||
const char *value;
|
||||
};
|
||||
|
||||
struct config_path_setting
|
||||
{
|
||||
const char *ident;
|
||||
bool defaults;
|
||||
const char *value;
|
||||
};
|
||||
|
||||
typedef struct settings
|
||||
{
|
||||
video_viewport_t video_viewport_custom;
|
||||
|
Loading…
x
Reference in New Issue
Block a user