summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/pwm.h')
-rw-r--r--src/devices/video/pwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/video/pwm.h b/src/devices/video/pwm.h
index 6ef59e1f0db..dca3d76a29a 100644
--- a/src/devices/video/pwm.h
+++ b/src/devices/video/pwm.h
@@ -38,6 +38,7 @@ public:
void matrix_partial(u8 start, u8 height, u64 rowsel, u64 rowdata, bool upd = true);
void matrix(u64 rowsel, u64 rowdata, bool upd = true) { matrix_partial(0, m_height, rowsel, rowdata, upd); }
void update(); // apply changes to m_rowdata
+ void clear() { matrix(0, 0); }
// directly handle individual element (does not affect m_rowsel), y = row num, x = row bit
int read_element(u8 y, u8 x) { return BIT(m_rowdata[y], x); }