mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Settings cleanups - make sure things that modify the settings
struct go through the wrapper function so that the 'modified' bit gets set
This commit is contained in:
parent
43b65be030
commit
f87bd0c190
@ -53,6 +53,12 @@
|
||||
var = newvar; \
|
||||
}
|
||||
|
||||
#define configuration_set_string(settings, var, newvar) \
|
||||
{ \
|
||||
settings->modified = true; \
|
||||
strlcpy(var, newvar, sizeof(var)); \
|
||||
}
|
||||
|
||||
enum crt_switch_type
|
||||
{
|
||||
CRT_SWITCH_NONE = 0,
|
||||
|
434
retroarch.c
434
retroarch.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user