mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
UI input map fixes
- Fix a longstanding bug that prevented binding several ORed buttons to any input belonging to a non-root device. - Fix a visual glitch when assigning inputs to analog sequences.
This commit is contained in:
parent
448f68f2d0
commit
36406e792e
@ -426,7 +426,7 @@ void menu_input::populate_and_sort(input_item_data *itemlist)
|
||||
text = "(" + text + ")";
|
||||
|
||||
/* if we're polling this item, use some spaces with left/right arrows */
|
||||
if (pollingref == item->ref)
|
||||
if (pollingref == item->ref && pollingseq == item->seqtype)
|
||||
{
|
||||
subtext.assign(" ");
|
||||
flags |= FLAG_LEFT_ARROW | FLAG_RIGHT_ARROW;
|
||||
|
@ -66,7 +66,7 @@ protected:
|
||||
input_item_data * pollingitem;
|
||||
|
||||
private:
|
||||
uint16_t last_sortorder;
|
||||
uint32_t last_sortorder;
|
||||
bool record_next;
|
||||
input_seq starting_seq;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user