From: kub Date: Wed, 20 Oct 2021 19:33:15 +0000 (+0200) Subject: sms, fix system setting on config file reading X-Git-Tag: v2.00~457 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d250c709c6be35cb8d26c6866e0711e3e3a8b2;p=picodrive.git sms, fix system setting on config file reading --- 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; }