mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Added a machine_config* parameter to certain MESS specific hooks
This commit is contained in:
parent
d6272eb90b
commit
0fd62f5d4f
@ -17,6 +17,10 @@
|
||||
#include "xmlfile.h"
|
||||
#include "hash.h"
|
||||
|
||||
#ifdef MESS
|
||||
#include "infomess.h"
|
||||
#endif /* MESS */
|
||||
|
||||
/* MESS/MAME configuration */
|
||||
#ifdef MESS
|
||||
#define XML_ROOT "mess"
|
||||
@ -26,11 +30,6 @@
|
||||
#define XML_TOP "game"
|
||||
#endif
|
||||
|
||||
#ifdef MESS
|
||||
void print_game_device(FILE* out, const game_driver* game);
|
||||
void print_game_ramoptions(FILE* out, const game_driver* game);
|
||||
#endif /* MESS */
|
||||
|
||||
|
||||
/*-------------------------------------------------
|
||||
print_game_switches - print the DIP switch
|
||||
@ -923,9 +922,9 @@ static void print_game_info(FILE *out, const game_driver *game)
|
||||
print_game_switches(out, game, input);
|
||||
print_game_driver(out, game, config);
|
||||
#ifdef MESS
|
||||
print_game_device(out, game);
|
||||
print_game_ramoptions(out, game);
|
||||
#endif
|
||||
print_game_device(out, game, config);
|
||||
print_game_ramoptions(out, game, config);
|
||||
#endif /* MESS */
|
||||
|
||||
/* close the topmost tag */
|
||||
fprintf(out, "\t</" XML_TOP ">\n");
|
||||
|
Loading…
Reference in New Issue
Block a user