From a54716ec192531fb23ae7b897a677f1df8cf9c88 Mon Sep 17 00:00:00 2001 From: kub Date: Tue, 7 Dec 2021 21:07:34 +0100 Subject: [PATCH] platform, fix pad setting from configs files --- platform/common/emu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5