From e9c1f4a42a6758a6fb75403e28c7dc6cf869081c Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 17 Jun 2023 01:10:05 +1000 Subject: emu/devcb.h: Eliminated the need to call resolve() on callbacks. (#11333) Read callbacks now need a default return value supplied at construction. Replaced isnull() with isunset() which tells you if the callback wasn't configured rather than whether it isn't safe to call. Enabled validation of device callbacks (it seems it was disabled at some point, probably accidentally). Device callbacks and object finders now implement the same interface for resolution. --- src/devices/machine/k056230.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/devices/machine/k056230.cpp') diff --git a/src/devices/machine/k056230.cpp b/src/devices/machine/k056230.cpp index e3a457f8512..68f1a718197 100644 --- a/src/devices/machine/k056230.cpp +++ b/src/devices/machine/k056230.cpp @@ -42,7 +42,6 @@ k056230_device::k056230_device(const machine_config &mconfig, const char *tag, d void k056230_device::device_start() { - m_irq_cb.resolve_safe(); m_irq_state = CLEAR_LINE; save_item(NAME(m_irq_state)); -- cgit v1.2.3-70-g09d2