Move the "No joystick" option to the top and get rid of the JOYSTICK_TYPE_NONE macro
This commit is contained in:
@@ -56,7 +56,7 @@ machine_xt_compaq_deskpro_init(const machine_t *model)
|
||||
if (fdc_type == FDC_INTERNAL)
|
||||
device_add(&fdc_xt_device);
|
||||
nmi_init();
|
||||
if (joystick_type != JOYSTICK_TYPE_NONE)
|
||||
if (joystick_type)
|
||||
device_add(&gameport_device);
|
||||
|
||||
lpt1_remove();
|
||||
@@ -85,7 +85,7 @@ machine_xt_compaq_portable_init(const machine_t *model)
|
||||
if (fdc_type == FDC_INTERNAL)
|
||||
device_add(&fdc_xt_device);
|
||||
nmi_init();
|
||||
if (joystick_type != JOYSTICK_TYPE_NONE)
|
||||
if (joystick_type)
|
||||
device_add(&gameport_device);
|
||||
|
||||
lpt1_remove();
|
||||
|
||||
Reference in New Issue
Block a user