diff options
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/menu.c b/frontend/menu.c index d3e16a4..daec500 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -241,6 +241,9 @@ static void menu_set_defconfig(void) { #val, sizeof(pl_rearmed_cbs.val), &pl_rearmed_cbs.val } // 'versioned' var, used when defaults change +#define CE_CONFIG_STR_V(val, ver) \ + { #val #ver, 0, Config.val } + #define CE_INTVAL_V(val, ver) \ { #val #ver, sizeof(val), &val } @@ -253,7 +256,7 @@ static const struct { void *val; } config_data[] = { CE_CONFIG_STR(Bios), - CE_CONFIG_STR(Gpu), + CE_CONFIG_STR_V(Gpu, 2), CE_CONFIG_STR(Spu), // CE_CONFIG_STR(Cdr), CE_CONFIG_VAL(Xa), |