summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/watchdog.c
diff options
context:
space:
mode:
author Zsolt Vasvari <zsoltvas@mamedev.org>2008-03-17 00:44:00 +0000
committer Zsolt Vasvari <zsoltvas@mamedev.org>2008-03-17 00:44:00 +0000
commitc230321cdc509a9ec44a12da832224fe506592e9 (patch)
tree3f2bd0c600375bf27fe5295fabb1e37124df15ca /src/emu/watchdog.c
parent36d69f3b61fbb73dad3b2810e42b14bbb62571ce (diff)
The on-screen "Reset by watchdog" message only appears in debug builds
Diffstat (limited to 'src/emu/watchdog.c')
-rw-r--r--src/emu/watchdog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/watchdog.c b/src/emu/watchdog.c
index 8eecc828dde..e6c2ab93be0 100644
--- a/src/emu/watchdog.c
+++ b/src/emu/watchdog.c
@@ -73,7 +73,11 @@ static void watchdog_internal_reset(running_machine *machine)
static TIMER_CALLBACK( watchdog_callback )
{
logerror("Reset caused by the watchdog!!!\n");
+
+#ifdef MAME_DEBUG
popmessage("Reset caused by the watchdog!!!\n");
+#endif
+
mame_schedule_soft_reset(machine);
}