summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/inputmap.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-10-13 12:58:03 -0400
committer AJR <ajrhacker@users.noreply.github.com>2016-10-13 12:58:03 -0400
commit80a5c58c9ca766c0c7305003374bb0f8f591282e (patch)
tree2a5a633777fcd0c34640f55a03313f4a294f698b /src/frontend/mame/ui/inputmap.h
parentb01c431ac3553f219fb6769812afd23b64318548 (diff)
Parenthesize optional items in input menus
Diffstat (limited to 'src/frontend/mame/ui/inputmap.h')
-rw-r--r--src/frontend/mame/ui/inputmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/inputmap.h b/src/frontend/mame/ui/inputmap.h
index 522ea8bd7e9..9acee915025 100644
--- a/src/frontend/mame/ui/inputmap.h
+++ b/src/frontend/mame/ui/inputmap.h
@@ -55,6 +55,7 @@ protected:
const char * owner_name; /* pointer to the name of the owner of the item */
UINT32 sortorder; /* sorting information */
UINT8 type; /* type of port */
+ bool is_optional; /* true if this input is considered optional */
};
void populate_and_sort(struct input_item_data *itemlist);