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:
twinaphex 2020-03-05 12:22:58 +01:00
parent 43b65be030
commit f87bd0c190
2 changed files with 255 additions and 185 deletions

View File

@ -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,

File diff suppressed because it is too large Load Diff