diff --git a/src/emu/ioport.c b/src/emu/ioport.c index 3de71d137d7..7b00ad2cf75 100644 --- a/src/emu/ioport.c +++ b/src/emu/ioport.c @@ -2793,7 +2793,12 @@ static int frame_get_digital_field_state(const input_field_config *field, int mo /* skip locked-out coin inputs */ if (curstate && field->type >= IPT_COIN1 && field->type <= IPT_COIN12 && coin_lockout_get_state(field->machine(), field->type - IPT_COIN1) && field->machine().options().coin_lockout()) { - ui_popup_time(3, "Coinlock disabled %s.", input_field_name(field)); + int verbose = field->machine().options().verbose(); +#ifdef MAME_DEBUG + verbose = 1; +#endif + if (verbose) + ui_popup_time(3, "Coinlock disabled %s.", input_field_name(field)); return FALSE; } return curstate; diff --git a/src/emu/watchdog.c b/src/emu/watchdog.c index 1af78b4b70d..c39b15c4640 100644 --- a/src/emu/watchdog.c +++ b/src/emu/watchdog.c @@ -10,6 +10,7 @@ ***************************************************************************/ #include "emu.h" +#include "emuopts.h" @@ -71,9 +72,12 @@ static TIMER_CALLBACK( watchdog_callback ) { logerror("Reset caused by the watchdog!!!\n"); + int verbose = machine.options().verbose(); #ifdef MAME_DEBUG - popmessage("Reset caused by the watchdog!!!\n"); + verbose = 1; #endif + if (verbose) + popmessage("Reset caused by the watchdog!!!\n"); machine.schedule_soft_reset(); }