From 35b88f45fe84e62c35eddd1142df87a6a6a375ef Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Wed, 2 Apr 2008 08:34:24 +0000 Subject: [PATCH] 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 --- src/emu/uimenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {