mirror of
https://github.com/libretro/RetroArch
synced 2025-04-25 09:02:44 +00:00
Make g_config a static variable and make it no longer global
This commit is contained in:
parent
a66c72e875
commit
0724617abd
@ -31,7 +31,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
settings_t g_config;
|
static settings_t g_config;
|
||||||
struct global g_extern;
|
struct global g_extern;
|
||||||
struct defaults g_defaults;
|
struct defaults g_defaults;
|
||||||
|
|
||||||
|
@ -409,9 +409,6 @@ bool config_save_file(const char *path);
|
|||||||
|
|
||||||
settings_t *config_get_ptr(void);
|
settings_t *config_get_ptr(void);
|
||||||
|
|
||||||
/* Public data structures. */
|
|
||||||
extern settings_t g_config;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user