summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bladestl.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-08-12 14:01:05 +0100
committer smf- <smf-@users.noreply.github.com>2018-08-12 14:13:23 +0100
commit691f915b21b2c7d28d487b6dfd44ea45f083bdb6 (patch)
tree9f672b2267574bcb42ffb740cc72cb56669523da /src/mame/drivers/bladestl.cpp
parent82be4e22f184412f37805999232439ed1c36c31d (diff)
upd7759: Converted to use device_rom_interface and added md input for selecting between master and slave. [smf]
Finished hooking the UPD7759 up to the following drivers: vgmplay Bay Route (encrypted, protected bootleg) E-Swat - Cyber Police (bootleg, set 1) Golden Axe (encrypted bootleg) Passing Shot (2 Players) (bootleg)
Diffstat (limited to 'src/mame/drivers/bladestl.cpp')
-rw-r--r--src/mame/drivers/bladestl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/bladestl.cpp b/src/mame/drivers/bladestl.cpp
index 468c52779bc..e110ca5bc45 100644
--- a/src/mame/drivers/bladestl.cpp
+++ b/src/mame/drivers/bladestl.cpp
@@ -89,7 +89,7 @@ WRITE8_MEMBER(bladestl_state::bladestl_bankswitch_w)
WRITE8_MEMBER(bladestl_state::bladestl_port_B_w)
{
// bits 3-5 = ROM bank select
- m_upd7759->set_bank_base(((data & 0x38) >> 3) * 0x20000);
+ m_upd7759->set_rom_bank((data & 0x38) >> 3);
// bit 2 = SSG-C rc filter enable
m_filter3->filter_rc_set_RC(filter_rc_device::LOWPASS, 1000, 2200, 1000, data & 0x04 ? CAP_N(150) : 0); /* YM2203-SSG-C */