diff options
Diffstat (limited to 'src/devices/video/pwm.cpp')
-rw-r--r-- | src/devices/video/pwm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/pwm.cpp b/src/devices/video/pwm.cpp index b949c83e9a4..651a992a67e 100644 --- a/src/devices/video/pwm.cpp +++ b/src/devices/video/pwm.cpp @@ -73,10 +73,10 @@ ALLOW_SAVE_TYPE(attotime); // m_acc void pwm_display_device::device_start() { // resolve handlers - bool cb1 = m_output_x_cb.resolve_safe(); - bool cb2 = m_output_a_cb.resolve_safe(); - bool cb3 = m_output_digit_cb.resolve_safe(); - m_external_output = cb1 || cb2 || cb3; + m_external_output = !m_output_x_cb.isnull() || !m_output_a_cb.isnull() || !m_output_digit_cb.isnull(); + m_output_x_cb.resolve_safe(); + m_output_a_cb.resolve_safe(); + m_output_digit_cb.resolve_safe(); if (!m_external_output) { |