summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kontest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/kontest.cpp')
-rw-r--r--src/mame/drivers/kontest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/kontest.cpp b/src/mame/drivers/kontest.cpp
index 3bb919e7eba..31f4de0f33f 100644
--- a/src/mame/drivers/kontest.cpp
+++ b/src/mame/drivers/kontest.cpp
@@ -177,9 +177,9 @@ void kontest_state::kontest_map(address_map &map)
void kontest_state::kontest_io(address_map &map)
{
map.global_mask(0xff);
- map(0x00, 0x00).w("sn1", FUNC(sn76489a_device::write));
- map(0x04, 0x04).w("sn2", FUNC(sn76489a_device::write));
- map(0x08, 0x08).w(this, FUNC(kontest_state::control_w));
+ map(0x00, 0x00).w("sn1", FUNC(sn76489a_device::command_w));
+ map(0x04, 0x04).w("sn2", FUNC(sn76489a_device::command_w));
+ map(0x08, 0x08).w(FUNC(kontest_state::control_w));
map(0x0c, 0x0c).portr("IN0");
map(0x0d, 0x0d).portr("IN1");
map(0x0e, 0x0e).portr("IN2");