summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spcforce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spcforce.cpp')
-rw-r--r--src/mame/drivers/spcforce.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/spcforce.cpp b/src/mame/drivers/spcforce.cpp
index e0425fa9ba4..a27ee8759b6 100644
--- a/src/mame/drivers/spcforce.cpp
+++ b/src/mame/drivers/spcforce.cpp
@@ -91,9 +91,9 @@ WRITE8_MEMBER(spcforce_state::SN76496_select_w)
{
m_sn76496_select = data;
- if (~data & 0x40) m_sn1->write(space, 0, m_sn76496_latch);
- if (~data & 0x20) m_sn2->write(space, 0, m_sn76496_latch);
- if (~data & 0x10) m_sn3->write(space, 0, m_sn76496_latch);
+ if (~data & 0x40) m_sn1->write(m_sn76496_latch);
+ if (~data & 0x20) m_sn2->write(m_sn76496_latch);
+ if (~data & 0x10) m_sn3->write(m_sn76496_latch);
}
READ_LINE_MEMBER(spcforce_state::t0_r)
@@ -131,8 +131,8 @@ void spcforce_state::spcforce_map(address_map &map)
map(0x0000, 0x3fff).rom();
map(0x4000, 0x43ff).ram();
map(0x7000, 0x7000).portr("DSW").w("soundlatch", FUNC(generic_latch_8_device::write));
- map(0x7001, 0x7001).portr("P1").w(this, FUNC(spcforce_state::soundtrigger_w));
- map(0x7002, 0x7002).portr("P2").w(this, FUNC(spcforce_state::misc_outputs_w));
+ map(0x7001, 0x7001).portr("P1").w(FUNC(spcforce_state::soundtrigger_w));
+ map(0x7002, 0x7002).portr("P2").w(FUNC(spcforce_state::misc_outputs_w));
map(0x7008, 0x700f).w("mainlatch", FUNC(ls259_device::write_d0));
map(0x8000, 0x83ff).ram().share("videoram");
map(0x9000, 0x93ff).ram().share("colorram");