- Removed sysconfig section from game_driver struct

- Made compatible_with attribute available for MAME too (with NULL value set in GAMEL macro)

This patch require full recompile due to change of GAMEL macro
This commit is contained in:
Miodrag Milanovic 2009-12-25 19:59:44 +00:00
parent e79f87efd8
commit 48a799c97d
2 changed files with 1 additions and 9 deletions

View File

@ -182,12 +182,7 @@ struct _game_driver
const input_port_token *ipt; /* pointer to array of input port tokens */
void (*driver_init)(running_machine *machine); /* DRIVER_INIT callback */
const rom_entry * rom; /* pointer to list of ROMs for the game */
#ifdef MESS
void (*sysconfig_ctor)(struct SystemConfigurationParamBlock *cfg);
const char * compatible_with;
#endif
UINT32 flags; /* orientation and other flags; see defines below */
const char * default_layout; /* default internally defined layout */
};
@ -217,6 +212,7 @@ const game_driver GAME_NAME(NAME) = \
INPUT_PORTS_NAME(INPUT), \
DRIVER_INIT_NAME(INIT), \
ROM_NAME(NAME), \
NULL, \
(MONITOR)|(FLAGS), \
&LAYOUT[0] \
};

View File

@ -832,10 +832,6 @@ static void print_game_info(FILE *out, const game_driver *game)
/* start tracking resources and allocate the machine and input configs */
config = machine_config_alloc(game->machine_config);
#ifdef MESS
/* temporary hook until MESS device transition is complete */
mess_devices_setup(NULL, config, game);
#endif /* MESS */
input_port_list_init(&portlist, game->ipt, NULL, 0, FALSE);
/* print the header and the game name */