summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/crt9028.cpp
diff options
context:
space:
mode:
author Vas Crabb <cuavas@users.noreply.github.com>2023-06-17 01:10:05 +1000
committer GitHub <noreply@github.com>2023-06-17 01:10:05 +1000
commite9c1f4a42a6758a6fb75403e28c7dc6cf869081c (patch)
tree8e0b6d960bed4baec2408c9ab950218592ef33ec /src/devices/video/crt9028.cpp
parentc1ceb6e016763537c5109cc76fe5d1b4ae72fdb3 (diff)
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.
Diffstat (limited to 'src/devices/video/crt9028.cpp')
-rw-r--r--src/devices/video/crt9028.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/devices/video/crt9028.cpp b/src/devices/video/crt9028.cpp
index 94cc2429e13..7ed0c398c2f 100644
--- a/src/devices/video/crt9028.cpp
+++ b/src/devices/video/crt9028.cpp
@@ -148,19 +148,6 @@ device_memory_interface::space_config_vector crt9028_device::memory_space_config
//-------------------------------------------------
-// device_resolve_objects - resolve objects that
-// may be needed for other devices to set
-// initial conditions at start time
-//-------------------------------------------------
-
-void crt9028_device::device_resolve_objects()
-{
- m_hsync_callback.resolve_safe();
- m_vsync_callback.resolve_safe();
-}
-
-
-//-------------------------------------------------
// device_start - device-specific startup
//-------------------------------------------------