platform, fix pad not set from config when loading rom via command line
authorkub <derkub@gmail.com>
Sat, 4 Dec 2021 21:56:33 +0000 (22:56 +0100)
committerkub <derkub@gmail.com>
Sat, 4 Dec 2021 21:56:33 +0000 (22:56 +0100)
platform/common/emu.c

index 8cd5e74..ddfac49 100644 (file)
@@ -1288,6 +1288,9 @@ void emu_init(void)
        PicoIn.mcdTrayClose = emu_tray_close;\r
 \r
        sndout_init();\r
+\r
+       PicoSetInputDevice(0, currentConfig.input_dev0);\r
+       PicoSetInputDevice(1, currentConfig.input_dev1);\r
 }\r
 \r
 void emu_finish(void)\r