Move the "No joystick" option to the top and get rid of the JOYSTICK_TYPE_NONE macro
This commit is contained in:
@@ -517,7 +517,7 @@ ps1_common_init(const machine_t *model)
|
||||
device_add(&keyboard_ps2_ps1_device);
|
||||
|
||||
/* Audio uses ports 200h and 202-207h, so only initialize gameport on 201h. */
|
||||
if (joystick_type != JOYSTICK_TYPE_NONE)
|
||||
if (joystick_type)
|
||||
device_add(&gameport_201_device);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user