From 1ad6369866c1db40e01b092a593fa49753b75b8d Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Tue, 4 Jun 2024 01:33:07 +0200 Subject: machine/watchdog.cpp: relax log message (#12421) * machine/watchdog.cpp: get rid of verbose call, reword comments --- src/devices/machine/mb3773.cpp | 2 +- src/devices/machine/watchdog.cpp | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/devices/machine/mb3773.cpp b/src/devices/machine/mb3773.cpp index 50ea4ed4e39..126d1e0a62c 100644 --- a/src/devices/machine/mb3773.cpp +++ b/src/devices/machine/mb3773.cpp @@ -58,7 +58,7 @@ void mb3773_device::device_reset() TIMER_CALLBACK_MEMBER(mb3773_device::watchdog_expired) { - logerror("Reset caused by watchdog\n"); + logerror("watchdog_expired: reset issued\n"); #if WATCHDOG_DEBUG machine().debug_break(); diff --git a/src/devices/machine/watchdog.cpp b/src/devices/machine/watchdog.cpp index ad0dba7b5be..ef6ba30f072 100644 --- a/src/devices/machine/watchdog.cpp +++ b/src/devices/machine/watchdog.cpp @@ -144,14 +144,7 @@ void watchdog_timer_device::watchdog_enable(int state) void watchdog_timer_device::watchdog_fired() { - logerror("Reset caused by the watchdog!!!\n"); - - bool verbose = machine().options().verbose(); -#ifdef MAME_DEBUG - verbose = true; -#endif - if (verbose) - popmessage("Reset caused by the watchdog!!!\n"); + logerror("watchdog_fired: reset issued\n"); machine().schedule_soft_reset(); } -- cgit v1.2.3