Move the "No joystick" option to the top and get rid of the JOYSTICK_TYPE_NONE macro

This commit is contained in:
Alexander Babikov
2020-12-04 22:05:26 +05:00
parent ddf85533aa
commit 82404f2b3a
16 changed files with 30 additions and 31 deletions

View File

@@ -2507,7 +2507,7 @@ machine_amstrad_init(const machine_t *model, int type)
mouse_set_poll(ms_poll, ams);
}
if (joystick_type != JOYSTICK_TYPE_NONE)
if (joystick_type)
device_add(&gameport_device);
}