int cli_info_listxml(core_options *options, const char *gamename) { /* since print_mame_xml expands the machine driver, we need to set things up */ init_resource_tracking(); cpuintrf_init(NULL); sndintrf_init(NULL); print_mame_xml(stdout, drivers, gamename); /* clean up our tracked resources */ exit_resource_tracking(); return MAMERR_NONE; }
int cli_info_listxml(core_options *options, const char *gamename) { print_mame_xml(stdout, drivers, gamename); return MAMERR_NONE; }