changeset 1789:b3eb74936f18

Fix off by one in IO device UI
author Michael Pavone <pavone@retrodev.com>
date Tue, 19 Mar 2019 18:56:21 -0700
parents 154c7b348cf1
children a29f35c47da4
files nuklear_ui/blastem_nuklear.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c	Tue Mar 19 09:27:30 2019 -0700
+++ b/nuklear_ui/blastem_nuklear.c	Tue Mar 19 18:56:21 2019 -0700
@@ -1719,6 +1719,7 @@
 		selected_init = find_match(ram_inits, num_inits, "system\0ram_init\0", "zero");
 	}
 	const char *io_opts_1[] = {
+		"none",
 		"gamepad2.1",
 		"gamepad3.1",
 		"gamepad6.1",
@@ -1727,6 +1728,7 @@
 		"xband keyboard"
 	};
 	const char *io_opts_2[] = {
+		"none",
 		"gamepad2.2",
 		"gamepad3.2",
 		"gamepad6.2",