summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mrjong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mrjong.cpp')
-rw-r--r--src/mame/drivers/mrjong.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/mrjong.cpp b/src/mame/drivers/mrjong.cpp
index 4fe53a3542f..1342c1c9d49 100644
--- a/src/mame/drivers/mrjong.cpp
+++ b/src/mame/drivers/mrjong.cpp
@@ -77,17 +77,17 @@ void mrjong_state::mrjong_map(address_map &map)
map(0x0000, 0x7fff).rom();
map(0x8000, 0x87ff).ram();
map(0xa000, 0xa7ff).ram();
- map(0xe000, 0xe3ff).ram().w(this, FUNC(mrjong_state::mrjong_videoram_w)).share("videoram");
- map(0xe400, 0xe7ff).ram().w(this, FUNC(mrjong_state::mrjong_colorram_w)).share("colorram");
+ map(0xe000, 0xe3ff).ram().w(FUNC(mrjong_state::mrjong_videoram_w)).share("videoram");
+ map(0xe400, 0xe7ff).ram().w(FUNC(mrjong_state::mrjong_colorram_w)).share("colorram");
}
void mrjong_state::mrjong_io_map(address_map &map)
{
map.global_mask(0xff);
- map(0x00, 0x00).portr("P2").w(this, FUNC(mrjong_state::mrjong_flipscreen_w));
- map(0x01, 0x01).portr("P1").w("sn1", FUNC(sn76489_device::write));
- map(0x02, 0x02).portr("DSW").w("sn2", FUNC(sn76489_device::write));
- map(0x03, 0x03).r(this, FUNC(mrjong_state::io_0x03_r)); // Unknown
+ map(0x00, 0x00).portr("P2").w(FUNC(mrjong_state::mrjong_flipscreen_w));
+ map(0x01, 0x01).portr("P1").w("sn1", FUNC(sn76489_device::command_w));
+ map(0x02, 0x02).portr("DSW").w("sn2", FUNC(sn76489_device::command_w));
+ map(0x03, 0x03).r(FUNC(mrjong_state::io_0x03_r)); // Unknown
}
/*************************************