joystick_init() is now called after loading the configuration file - makes the emulator not load the joystick at all if joystick_type is set to 7 (No Joystick).

This commit is contained in:
OBattler
2017-02-18 23:45:30 +01:00
parent c7409972b5
commit 946e9d8b7e

View File

@@ -240,7 +240,6 @@ void initpc(int argc, char *argv[])
keyboard_init();
mouse_init();
joystick_init();
midi_init();
if (config_file == NULL)
@@ -257,6 +256,8 @@ void initpc(int argc, char *argv[])
if (config_file)
saveconfig();
joystick_init();
cpuspeed2=(AT)?2:1;
// cpuspeed2=cpuspeed;
atfullspeed=0;