summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Paul-Arnold <98924583+Paul-Arnold@users.noreply.github.com>2022-05-16 12:35:51 +0100
committer GitHub <noreply@github.com>2022-05-16 13:35:51 +0200
commita450478483b5ba2b59804e2c82ff5b5de265320c (patch)
treef3c9dcfcfc3890bc5ae4d285318491f86610552f /src/mame/drivers
parentafb0469e485d19671cfbff48969daea030918917 (diff)
Fix interface to upd7759 sounds (#9769)
Interface to upd7759 was using start and reset inputs when should've been using mode and reset.
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/bfcobra.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/bfcobra.cpp b/src/mame/drivers/bfcobra.cpp
index e3b70e87f6c..60eab2fd41d 100644
--- a/src/mame/drivers/bfcobra.cpp
+++ b/src/mame/drivers/bfcobra.cpp
@@ -2603,9 +2603,8 @@ void bfcobjam_state::genio_w( uint8_t data )
}
//bits 1 and 2 are for upd7759
- m_upd7759_int->md_w(0);
+ m_upd7759_int->md_w(!BIT(data,1));
m_upd7759_int->reset_w(!BIT(data,2));
- m_upd7759_int->start_w(BIT(data,1));
}
void bfcobjam_state::upd7759_w(uint8_t data)