summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-04-02 08:34:24 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-04-02 08:34:24 +0000
commit35b88f45fe84e62c35eddd1142df87a6a6a375ef (patch)
tree7a3ab94f9b1e4c165b9ba6c8c18b6d8904036ebe
parentf8c51f9a23d04b2cc01619af95f3363c183b61ae (diff)
From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: small change for MESS cleanup This adds the "Machine" parameter to a MESS function call in MAME code to go along with Machine -> machine ckeanups in MESS
-rw-r--r--src/emu/uimenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c
index 91511dbc754..b27d5940e5c 100644
--- a/src/emu/uimenu.c
+++ b/src/emu/uimenu.c
@@ -1889,7 +1889,7 @@ static int input_menu_get_game_items(input_item_data *itemlist)
/* add if we match the group and we have a valid name */
if ((name != NULL) && (input_port_condition(in)) &&
#ifdef MESS
- (in->category == 0 || input_category_active(in->category)) &&
+ (in->category == 0 || input_category_active(Machine, in->category)) &&
#endif /* MESS */
((in->type == IPT_OTHER && in->name != IP_NAME_DEFAULT) || port_type_to_group(in->type, in->player) != IPG_INVALID))
{