Mercurial > repos > blastem
comparison nuklear_ui/blastem_nuklear.c @ 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 | ba3fb7a3be6b |
children | a29f35c47da4 |
comparison
equal
deleted
inserted
replaced
1788:154c7b348cf1 | 1789:b3eb74936f18 |
---|---|
1717 static int32_t selected_init = -1; | 1717 static int32_t selected_init = -1; |
1718 if (selected_init < 0) { | 1718 if (selected_init < 0) { |
1719 selected_init = find_match(ram_inits, num_inits, "system\0ram_init\0", "zero"); | 1719 selected_init = find_match(ram_inits, num_inits, "system\0ram_init\0", "zero"); |
1720 } | 1720 } |
1721 const char *io_opts_1[] = { | 1721 const char *io_opts_1[] = { |
1722 "none", | |
1722 "gamepad2.1", | 1723 "gamepad2.1", |
1723 "gamepad3.1", | 1724 "gamepad3.1", |
1724 "gamepad6.1", | 1725 "gamepad6.1", |
1725 "mouse.1", | 1726 "mouse.1", |
1726 "saturn keyboard", | 1727 "saturn keyboard", |
1727 "xband keyboard" | 1728 "xband keyboard" |
1728 }; | 1729 }; |
1729 const char *io_opts_2[] = { | 1730 const char *io_opts_2[] = { |
1731 "none", | |
1730 "gamepad2.2", | 1732 "gamepad2.2", |
1731 "gamepad3.2", | 1733 "gamepad3.2", |
1732 "gamepad6.2", | 1734 "gamepad6.2", |
1733 "mouse.1", | 1735 "mouse.1", |
1734 "saturn keyboard", | 1736 "saturn keyboard", |