From: kub Date: Sat, 4 Dec 2021 21:56:33 +0000 (+0100) Subject: platform, fix pad not set from config when loading rom via command line X-Git-Tag: v2.00~400 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4d2723f9316a2825b293ce861d2974c18d921f7;p=picodrive.git platform, fix pad not set from config when loading rom via command line --- 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)