From: kub Date: Tue, 7 Dec 2021 20:07:34 +0000 (+0100) Subject: platform, fix pad setting from configs files X-Git-Tag: v2.00~399 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a54716ec192531fb23ae7b897a677f1df8cf9c88;p=picodrive.git platform, fix pad setting from configs files --- diff --git a/platform/common/emu.c b/platform/common/emu.c index ddfac496..1b3e7082 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -508,6 +508,9 @@ int emu_reload_rom(const char *rom_fname_in) } else { + PicoSetInputDevice(0, currentConfig.input_dev0); + PicoSetInputDevice(1, currentConfig.input_dev1); + system_announce(); PicoIn.opt &= ~POPT_DIS_VDP_FIFO; } @@ -1288,9 +1291,6 @@ void emu_init(void) PicoIn.mcdTrayClose = emu_tray_close; sndout_init(); - - PicoSetInputDevice(0, currentConfig.input_dev0); - PicoSetInputDevice(1, currentConfig.input_dev1); } void emu_finish(void)