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/7474.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/devices/machine/7474.h') diff --git a/src/devices/machine/7474.h b/src/devices/machine/7474.h index d8082d3e8ac..3bf2f1ee2e7 100644 --- a/src/devices/machine/7474.h +++ b/src/devices/machine/7474.h @@ -70,8 +70,7 @@ public: int output_comp_r(); // NOT strictly the same as !output_r() protected: - // device-level overrides - virtual void device_resolve_objects() override; + // device_t implementation virtual void device_start() override; virtual void device_reset() override; -- cgit v1.2.3-70-g09d2