diff options
Diffstat (limited to 'src/devices/video/pwm.cpp')
-rw-r--r-- | src/devices/video/pwm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/video/pwm.cpp b/src/devices/video/pwm.cpp index 2f22b9843af..80f52c7bb86 100644 --- a/src/devices/video/pwm.cpp +++ b/src/devices/video/pwm.cpp @@ -141,7 +141,7 @@ pwm_display_device &pwm_display_device::set_bri_levels(double l0, double l1, dou return *this; } -void pwm_display_device::segmask(u64 digits, u64 mask) +pwm_display_device &pwm_display_device::set_segmask(u64 digits, u64 mask) { // set a segment mask per selected digit, but leave unselected ones alone for (int y = 0; y < m_height; y++) @@ -150,6 +150,8 @@ void pwm_display_device::segmask(u64 digits, u64 mask) m_segmask[y] = mask; digits >>= 1; } + + return *this; } void pwm_display_device::matrix_partial(u8 start, u8 height, u64 rowsel, u64 rowdata, bool upd) |