summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/1943.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/1943.cpp')
-rw-r--r--src/mame/drivers/1943.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/1943.cpp b/src/mame/drivers/1943.cpp
index c903e24e500..53f870199d9 100644
--- a/src/mame/drivers/1943.cpp
+++ b/src/mame/drivers/1943.cpp
@@ -81,11 +81,11 @@ void _1943_state::c1943_map(address_map &map)
map(0xc002, 0xc002).portr("P2");
map(0xc003, 0xc003).portr("DSWA");
map(0xc004, 0xc004).portr("DSWB");
- map(0xc007, 0xc007).lr8("mcu_r", [this]() -> u8 { return m_mcu_to_cpu; });
+ map(0xc007, 0xc007).lr8(NAME([this] () -> u8 { return m_mcu_to_cpu; }));
map(0xc800, 0xc800).w("soundlatch", FUNC(generic_latch_8_device::write));
map(0xc804, 0xc804).w(FUNC(_1943_state::c804_w)); // ROM bank switch, screen flip
map(0xc806, 0xc806).w("watchdog", FUNC(watchdog_timer_device::reset_w));
- map(0xc807, 0xc807).lw8("mcu_w", [this](u8 data) { m_cpu_to_mcu = data; });
+ map(0xc807, 0xc807).lw8(NAME([this] (u8 data) { m_cpu_to_mcu = data; }));
map(0xd000, 0xd3ff).ram().w(FUNC(_1943_state::videoram_w)).share("videoram");
map(0xd400, 0xd7ff).ram().w(FUNC(_1943_state::colorram_w)).share("colorram");
map(0xd800, 0xd801).ram().share("scrollx");
@@ -106,7 +106,7 @@ void _1943_state::c1943b_map(address_map &map)
// the bootleg expects 0x00 to be returned from the protection reads
// because the protection has been patched out
- map(0xc007, 0xc007).lr8("mcu_r", []() -> u8 { return 0x00; });
+ map(0xc007, 0xc007).lr8(NAME([]() -> u8 { return 0x00; }));
map(0xc807, 0xc807).noprw();
}
@@ -115,7 +115,7 @@ void _1943_state::sound_map(address_map &map)
map(0x0000, 0x7fff).rom();
map(0xc000, 0xc7ff).ram();
map(0xc800, 0xc800).r("soundlatch", FUNC(generic_latch_8_device::read));
- map(0xd800, 0xd800).lrw8("mcu", [this]() { return m_mcu_to_audiocpu; }, [this](u8 data) { m_audiocpu_to_mcu = data; });
+ map(0xd800, 0xd800).lrw8(NAME([this]() { return m_mcu_to_audiocpu; }), NAME([this](u8 data) { m_audiocpu_to_mcu = data; }));
map(0xe000, 0xe001).w("ym1", FUNC(ym2203_device::write));
map(0xe002, 0xe003).w("ym2", FUNC(ym2203_device::write));
}