mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
write popmessage() to error.log as well - and command-line in DEBUG build (nw)
This commit is contained in:
parent
becf4a8823
commit
004c6ffa37
@ -286,6 +286,14 @@ void CLIB_DECL popmessage(const char *format, ...)
|
||||
|
||||
// pop it in the UI
|
||||
machine_manager::instance()->machine()->ui().popup_time(temp.len() / 40 + 2, "%s", temp.cstr());
|
||||
|
||||
// also write to error.log
|
||||
logerror("popmessage: %s\n", temp.cstr());
|
||||
|
||||
#ifdef MAME_DEBUG
|
||||
// and to command-line in a DEBUG build
|
||||
osd_printf_info("popmessage: %s\n", temp.cstr());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user