From d4d2723f9316a2825b293ce861d2974c18d921f7 Mon Sep 17 00:00:00 2001 From: kub Date: Sat, 4 Dec 2021 22:56:33 +0100 Subject: [PATCH] platform, fix pad not set from config when loading rom via command line --- platform/common/emu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/common/emu.c b/platform/common/emu.c index 8cd5e74c..ddfac496 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -1288,6 +1288,9 @@ 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