summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/brkthru.c
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2012-05-07 12:02:27 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2012-05-07 12:02:27 +0000
commit27dd86c42fcada635b7fbdab2f74d0511edfe3c1 (patch)
tree117170d9aaadae349778d934a870fc65aa232356 /src/mame/drivers/brkthru.c
parente511946fbc6928ac4ac4fa6306a7b9b35a5a316a (diff)
fix brkthru.c regression
(might be a global issue?)
Diffstat (limited to 'src/mame/drivers/brkthru.c')
-rw-r--r--src/mame/drivers/brkthru.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/brkthru.c b/src/mame/drivers/brkthru.c
index 10c3102b4cc..c766e216087 100644
--- a/src/mame/drivers/brkthru.c
+++ b/src/mame/drivers/brkthru.c
@@ -98,9 +98,8 @@ WRITE8_MEMBER(brkthru_state::brkthru_soundlatch_w)
INPUT_CHANGED_MEMBER(brkthru_state::coin_inserted)
{
-
/* coin insertion causes an IRQ */
- if(oldval)
+ if(newval)
device_set_input_line(m_maincpu, 0, ASSERT_LINE);
}