diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-12-24 11:11:24 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-12-24 11:11:24 -0800 |
commit | c53d863d26d6d77fdfc792120a5c5c3e17c8d671 (patch) | |
tree | 72879ee909404c13f23b713ac8ebbaf7b55e0c83 | |
parent | 6cb4560e3d8d22203dbc9f0c651a482188ce3b25 (diff) |
Re-order IO device type enum so "None" is selected when no device is specified for a port
-rw-r--r-- | io.c | 4 | ||||
-rw-r--r-- | io.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -26,6 +26,7 @@ #define MIN_POLL_INTERVAL 6840 const char * device_type_names[] = { + "None", "SMS gamepad", "3-button gamepad", "6-button gamepad", @@ -38,8 +39,7 @@ const char * device_type_names[] = { "EA 4-way Play cable A", "EA 4-way Play cable B", "Sega Parallel Transfer Board", - "Generic Device", - "None" + "Generic Device" }; #define GAMEPAD_TH0 0 @@ -11,6 +11,7 @@ #include "serialize.h" enum { + IO_NONE, IO_GAMEPAD2, IO_GAMEPAD3, IO_GAMEPAD6, @@ -23,8 +24,7 @@ enum { IO_EA_MULTI_A, IO_EA_MULTI_B, IO_SEGA_PARALLEL, - IO_GENERIC, - IO_NONE + IO_GENERIC }; typedef struct { |