From 6ccb3256e8edd499bef1eb7a61cff611024429a1 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Fri, 13 Mar 2020 20:42:52 +0100 Subject: [PATCH] k005289.cpp: fixed regression I caused in nemesis.cpp games (nw) --- src/devices/sound/k005289.cpp | 4 ++-- src/devices/sound/k005289.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devices/sound/k005289.cpp b/src/devices/sound/k005289.cpp index 02903063b85..26d14258406 100644 --- a/src/devices/sound/k005289.cpp +++ b/src/devices/sound/k005289.cpp @@ -212,13 +212,13 @@ void k005289_device::control_B_w(uint8_t data) } -void k005289_device::ld1_w(offs_t offset) +void k005289_device::ld1_w(offs_t offset, uint8_t data) { m_freq_latch[0] = 0xfff - offset; } -void k005289_device::ld2_w(offs_t offset) +void k005289_device::ld2_w(offs_t offset, uint8_t data) { m_freq_latch[1] = 0xfff - offset; } diff --git a/src/devices/sound/k005289.h b/src/devices/sound/k005289.h index 83bbb7b89b2..39cac2cc300 100644 --- a/src/devices/sound/k005289.h +++ b/src/devices/sound/k005289.h @@ -16,8 +16,8 @@ public: void control_A_w(uint8_t data); void control_B_w(uint8_t data); - void ld1_w(offs_t offset); - void ld2_w(offs_t offset); + void ld1_w(offs_t offset, uint8_t data); + void ld2_w(offs_t offset, uint8_t data); void tg1_w(uint8_t data); void tg2_w(uint8_t data);