Another fix for SDL build, not seen by win32 build (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-03-28 12:00:04 +00:00
parent 09b83b1c61
commit da5fb6dd0d

View File

@ -105,7 +105,7 @@ static void sdloutput_exit(running_machine &machine)
{ {
if (output != NULL) if (output != NULL)
{ {
fprintf(output, "MAME " PID_FMT " STOP %s\n", osd_getpid(), machine.m_game.name); fprintf(output, "MAME " PID_FMT " STOP %s\n", osd_getpid(), machine.system().name);
fflush(output); fflush(output);
fclose(output); fclose(output);
output = NULL; output = NULL;