summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-10-26 14:39:02 +1100
committer Vas Crabb <vas@vastheman.com>2019-10-26 14:39:02 +1100
commit4798bcda894af27e45a228612ff86f6699bc1bd3 (patch)
tree0d434083fcabd72c2b28bf855b54a8307af00679
parentc8ba66d4afd0dd9cde0affa9b86bb06fd152e265 (diff)
(nw) fix other konami video devices not resolving delegate, fix Yamaha MSX systems
-rw-r--r--src/devices/bus/msx_cart/yamaha.cpp2
-rw-r--r--src/mame/video/k053246_k053247_k055673.cpp6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/bus/msx_cart/yamaha.cpp b/src/devices/bus/msx_cart/yamaha.cpp
index 472b8680b12..a306ba9c070 100644
--- a/src/devices/bus/msx_cart/yamaha.cpp
+++ b/src/devices/bus/msx_cart/yamaha.cpp
@@ -106,7 +106,7 @@ void msx_cart_sfg_device::device_start()
// This should probably moved up in the bus/slot hierarchy for the msx driver
cpu_device *maincpu = machine().device<cpu_device>("maincpu");
- maincpu->set_irq_acknowledge_callback(FUNC(msx_cart_sfg_device::irq_callback));
+ maincpu->set_irq_acknowledge_callback(*this, FUNC(msx_cart_sfg_device::irq_callback));
}
diff --git a/src/mame/video/k053246_k053247_k055673.cpp b/src/mame/video/k053246_k053247_k055673.cpp
index 750f2a4d084..dffa617c968 100644
--- a/src/mame/video/k053246_k053247_k055673.cpp
+++ b/src/mame/video/k053246_k053247_k055673.cpp
@@ -902,6 +902,9 @@ void k055673_device::device_start()
if (!palette().device().started())
throw device_missing_dependencies();
+ // resolve callbacks
+ m_k053247_cb.resolve();
+
int gfx_index = 0;
u32 total;
@@ -1065,6 +1068,9 @@ void k053247_device::device_start()
if (!palette().device().started())
throw device_missing_dependencies();
+ // resolve callbacks
+ m_k053247_cb.resolve();
+
u32 total;
static const gfx_layout spritelayout =
{