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

@@ -809,7 +809,7 @@ pc_reset_hard_init(void)
/* Reset and reconfigure the Network Card layer. */
network_reset();
if (joystick_type != JOYSTICK_TYPE_NONE)
if (joystick_type)
gameport_update_joystick_type();
ui_sb_update_panes();