summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-04-09 14:03:52 +0200
committer hap <happppp@users.noreply.github.com>2022-04-09 14:04:01 +0200
commit6e2cedc93746640f797e1d169b474b0426e92a3a (patch)
tree0ae2a86e6818b8fc8406031a8f58fc15ac87c5ca /src/emu
parente796502751c45b543b96f589ae8aeb01e6489725 (diff)
screen.h: set_clock(x) instead of m_clock=x
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/screen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/screen.h b/src/emu/screen.h
index d1eed62c20f..f5fa859a8c2 100644
--- a/src/emu/screen.h
+++ b/src/emu/screen.h
@@ -225,7 +225,7 @@ public:
screen_device &set_raw(u32 pixclock, u16 htotal, u16 hbend, u16 hbstart, u16 vtotal, u16 vbend, u16 vbstart)
{
assert(pixclock != 0);
- m_clock = pixclock;
+ set_clock(pixclock);
m_refresh = HZ_TO_ATTOSECONDS(pixclock) * htotal * vtotal;
m_vblank = m_refresh / vtotal * (vtotal - (vbstart - vbend));
m_width = htotal;