diff io.c @ 1650:d6c403135e64

Re-order IO device type enum so "None" is selected when no device is specified for a port
author Michael Pavone <pavone@retrodev.com>
date Mon, 24 Dec 2018 11:11:24 -0800
parents c206a422d466
children 7f42a93f18a4
line wrap: on
line diff
--- a/io.c	Tue Dec 18 19:58:00 2018 -0800
+++ b/io.c	Mon Dec 24 11:11:24 2018 -0800
@@ -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 @@
 	"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