From 4798bcda894af27e45a228612ff86f6699bc1bd3 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 26 Oct 2019 14:39:02 +1100 Subject: (nw) fix other konami video devices not resolving delegate, fix Yamaha MSX systems --- src/devices/bus/msx_cart/yamaha.cpp | 2 +- src/mame/video/k053246_k053247_k055673.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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("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 = { -- cgit v1.2.3