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
This commit is contained in:
Aaron Giles 2008-04-02 08:34:24 +00:00
parent f8c51f9a23
commit 35b88f45fe

View File

@ -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))
{