mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Explicitly flush log file on each line
This commit is contained in:
parent
6c78465d76
commit
365d5a0ff3
@ -1009,7 +1009,10 @@ void running_machine::watchdog_vblank(screen_device &screen, bool vblank_state)
|
||||
void running_machine::logfile_callback(const running_machine &machine, const char *buffer)
|
||||
{
|
||||
if (machine.m_logfile != nullptr)
|
||||
{
|
||||
machine.m_logfile->puts(buffer);
|
||||
machine.m_logfile->flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user