static void logfile_callback(running_machine *machine, const char *buffer) { if (options.logfile) mame_fputs(options.logfile, buffer); }
void running_machine::logfile_callback(running_machine &machine, const char *buffer) { if (machine.m_logfile != NULL) mame_fputs(machine.m_logfile, buffer); }
static void logfile_callback(const char *buffer) { if (options.logfile) mame_fputs(options.logfile, buffer); }