From 2cfb327cbe5446a3aec00546184e4db3a50831be Mon Sep 17 00:00:00 2001 From: Couriersud Date: Thu, 3 Apr 2008 15:37:45 +0000 Subject: [PATCH] Show a message if coin-lockout is active and coin x is pressed. --- src/emu/inptport.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/emu/inptport.c b/src/emu/inptport.c index 284d5476247..0fe3c9748bd 100644 --- a/src/emu/inptport.c +++ b/src/emu/inptport.c @@ -2942,10 +2942,15 @@ profiler_mark(PROFILER_INPUT); #endif /* skip locked-out coin inputs */ if (port->type >= IPT_COIN1 && port->type <= IPT_COIN8 && coinlockedout[port->type - IPT_COIN1]) + { + ui_popup_time(3, "Coinlock disabled %s.", input_port_name(port)); continue; + } if (port->type >= IPT_SERVICE1 && port->type <= IPT_SERVICE4 && servicecoinlockedout[port->type - IPT_SERVICE1]) + { + ui_popup_time(3, "Coinlock disabled %s.", input_port_name(port)); continue; - + } /* if this is a downward press and we're an impulse control, reset the count */ if (port->impulse) {