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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/pwm.h b/src/devices/video/pwm.h
index a9ef2d92d7a..2b5e6e47b07 100644
--- a/src/devices/video/pwm.h
+++ b/src/devices/video/pwm.h
@@ -41,7 +41,7 @@ public:
// 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); }
- void write_element(u8 y, u8 x, int state) { m_rowdata[y] = (m_rowdata[y] & ~(u64(1) << x)) | (u64(state ? 1 : 0) << x); }
+ void write_element(u8 y, u8 x, int state) { sync(); m_rowdata[y] = (m_rowdata[y] & ~(u64(1) << x)) | (u64(state ? 1 : 0) << x); }
// directly handle row data
u64 read_row(offs_t offset) { return m_rowdata[offset]; }