From 02d250c709c6be35cb8d26c6866e0711e3e3a8b2 Mon Sep 17 00:00:00 2001 From: kub Date: Wed, 20 Oct 2021 21:33:15 +0200 Subject: [PATCH] sms, fix system setting on config file reading --- platform/common/menu_pico.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/common/menu_pico.c b/platform/common/menu_pico.c index 80139c56..011df1c9 100644 --- a/platform/common/menu_pico.c +++ b/platform/common/menu_pico.c @@ -531,7 +531,7 @@ static const char *sms_hardwares[] = { "auto", "Game Gear", "Master System", NUL static menu_entry e_menu_sms_options[] = { - mee_enum ("System", MA_SMSOPT_HARDWARE, currentConfig.s_hwSelect, sms_hardwares ), + mee_enum ("System", MA_SMSOPT_HARDWARE, PicoIn.hwSelect, sms_hardwares ), }; static int menu_loop_sms_options(int id, int keys) @@ -540,7 +540,6 @@ static int menu_loop_sms_options(int id, int keys) me_loop(e_menu_sms_options, &sel); - PicoIn.hwSelect = currentConfig.s_hwSelect; return 0; } -- 2.39.5