summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ngp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ngp.cpp')
-rw-r--r--src/mame/drivers/ngp.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/ngp.cpp b/src/mame/drivers/ngp.cpp
index f777414384e..38b73203f7c 100644
--- a/src/mame/drivers/ngp.cpp
+++ b/src/mame/drivers/ngp.cpp
@@ -553,12 +553,12 @@ WRITE8_MEMBER( ngp_state::flash1_w )
void ngp_state::ngp_mem(address_map &map)
{
- map(0x000080, 0x0000bf).rw(this, FUNC(ngp_state::ngp_io_r), FUNC(ngp_state::ngp_io_w)); /* ngp/c specific i/o */
+ map(0x000080, 0x0000bf).rw(FUNC(ngp_state::ngp_io_r), FUNC(ngp_state::ngp_io_w)); /* ngp/c specific i/o */
map(0x004000, 0x006fff).ram().share("mainram"); /* work ram */
map(0x007000, 0x007fff).ram().share("share1"); /* shared with sound cpu */
map(0x008000, 0x00bfff).rw(m_k1ge, FUNC(k1ge_device::read), FUNC(k1ge_device::write)); /* video chip */
- map(0x200000, 0x3fffff).w(this, FUNC(ngp_state::flash0_w)); /* cart area #1 */
- map(0x800000, 0x9fffff).w(this, FUNC(ngp_state::flash1_w)); /* cart area #2 */
+ map(0x200000, 0x3fffff).w(FUNC(ngp_state::flash0_w)); /* cart area #1 */
+ map(0x800000, 0x9fffff).w(FUNC(ngp_state::flash1_w)); /* cart area #2 */
map(0xff0000, 0xffffff).rom().region("maincpu", 0); /* system rom */
}
@@ -585,8 +585,8 @@ void ngp_state::z80_mem(address_map &map)
{
map(0x0000, 0x0fff).ram().share("share1"); /* shared with tlcs900 */
map(0x4000, 0x4001).w(m_t6w28, FUNC(t6w28_device::write)); /* sound chip (right, left) */
- map(0x8000, 0x8000).rw(this, FUNC(ngp_state::ngp_z80_comm_r), FUNC(ngp_state::ngp_z80_comm_w)); /* main-sound communication */
- map(0xc000, 0xc000).w(this, FUNC(ngp_state::ngp_z80_signal_main_w)); /* signal irq to main cpu */
+ map(0x8000, 0x8000).rw(FUNC(ngp_state::ngp_z80_comm_r), FUNC(ngp_state::ngp_z80_comm_w)); /* main-sound communication */
+ map(0xc000, 0xc000).w(FUNC(ngp_state::ngp_z80_signal_main_w)); /* signal irq to main cpu */
}
@@ -601,7 +601,7 @@ WRITE8_MEMBER( ngp_state::ngp_z80_clear_irq )
void ngp_state::z80_io(address_map &map)
{
- map(0x0000, 0xffff).w(this, FUNC(ngp_state::ngp_z80_clear_irq));
+ map(0x0000, 0xffff).w(FUNC(ngp_state::ngp_z80_clear_irq));
}