src/emu/info.c
| r2071 | r2072 | |
| 17 | 17 | #include "xmlfile.h" |
| 18 | 18 | #include "hash.h" |
| 19 | 19 | |
| 20 | #ifdef MESS |
| 21 | #include "infomess.h" |
| 22 | #endif /* MESS */ |
| 23 | |
| 20 | 24 | /* MESS/MAME configuration */ |
| 21 | 25 | #ifdef MESS |
| 22 | 26 | #define XML_ROOT "mess" |
| r2071 | r2072 | |
| 26 | 30 | #define XML_TOP "game" |
| 27 | 31 | #endif |
| 28 | 32 | |
| 29 | | #ifdef MESS |
| 30 | | void print_game_device(FILE* out, const game_driver* game); |
| 31 | | void print_game_ramoptions(FILE* out, const game_driver* game); |
| 32 | | #endif /* MESS */ |
| 33 | 33 | |
| 34 | | |
| 35 | 34 | /*------------------------------------------------- |
| 36 | 35 | print_game_switches - print the DIP switch |
| 37 | 36 | settings for a game |
| r2071 | r2072 | |
| 923 | 922 | print_game_switches(out, game, input); |
| 924 | 923 | print_game_driver(out, game, config); |
| 925 | 924 | #ifdef MESS |
| 926 | | print_game_device(out, game); |
| 927 | | print_game_ramoptions(out, game); |
| 928 | | #endif |
| 925 | print_game_device(out, game, config); |
| 926 | print_game_ramoptions(out, game, config); |
| 927 | #endif /* MESS */ |
| 929 | 928 | |
| 930 | 929 | /* close the topmost tag */ |
| 931 | 930 | fprintf(out, "\t</" XML_TOP ">\n"); |
src/mess/infomess.c
| r2071 | r2072 | |
| 21 | 21 | *************************************/ |
| 22 | 22 | |
| 23 | 23 | |
| 24 | | void print_game_device(FILE* out, const game_driver* game) |
| 24 | /*------------------------------------------------- |
| 25 | print_game_device - prints out all info on |
| 26 | MESS-specific devices |
| 27 | -------------------------------------------------*/ |
| 28 | |
| 29 | void print_game_device(FILE *out, const game_driver *game, const machine_config *config) |
| 25 | 30 | { |
| 26 | 31 | const struct IODevice* devices; |
| 27 | 32 | const char *name; |
| r2071 | r2072 | |
| 78 | 83 | |
| 79 | 84 | |
| 80 | 85 | |
| 81 | | void print_game_ramoptions(FILE* out, const game_driver* game) |
| 86 | /*------------------------------------------------- |
| 87 | print_game_ramoptions - prints out all RAM |
| 88 | options for this system |
| 89 | -------------------------------------------------*/ |
| 90 | |
| 91 | void print_game_ramoptions(FILE *out, const game_driver *game, const machine_config *config) |
| 82 | 92 | { |
| 83 | 93 | int i, count; |
| 84 | 94 | UINT32 ram; |