trunk/src/emu/device.cpp
| r250174 | r250175 | |
| 866 | 866 | va_end(arg); |
| 867 | 867 | |
| 868 | 868 | // pop it in the UI |
| 869 | | machine().ui().popup_time(temp.length() / 40 + 2, "%s", temp.c_str()); |
| 869 | if (m_machine!=NULL) machine().ui().popup_time(temp.length() / 40 + 2, "%s", temp.c_str()); |
| 870 | 870 | } |
| 871 | 871 | } |
| 872 | 872 | |
| r250174 | r250175 | |
| 881 | 881 | { |
| 882 | 882 | std::string fmt("["); |
| 883 | 883 | fmt += tag() + std::string("] ") + format; |
| 884 | | machine().vlogerror(fmt.c_str(), args); |
| 884 | if (m_machine!=NULL) machine().vlogerror(fmt.c_str(), args); |
| 885 | 885 | } |
| 886 | 886 | |
| 887 | 887 | //************************************************************************** |