diff options
Diffstat (limited to 'src/emu/machine.cpp')
-rw-r--r-- | src/emu/machine.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp index 726979cadbc..2ffd4fc66c2 100644 --- a/src/emu/machine.cpp +++ b/src/emu/machine.cpp @@ -1202,6 +1202,24 @@ void running_machine::nvram_save() } } } + + +//************************************************************************** +// OUTPUT +//************************************************************************** + +void running_machine::popup_clear() const +{ + ui().popup_time(0, " "); +} + +void running_machine::popup_message(util::format_argument_pack<std::ostream> const &args) const +{ + std::string const temp(string_format(args)); + ui().popup_time(temp.length() / 40 + 2, temp); +} + + //************************************************************************** // CALLBACK ITEMS //************************************************************************** |