Browse Source

Fixed pad detection also when loading a per-game .cfg file

root 2 years ago
parent
commit
967a4e17b8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      platform/common/emu.c

+ 3 - 3
platform/common/emu.c

@@ -600,6 +600,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;
 	}
@@ -1612,9 +1615,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)