summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/pwm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/pwm.cpp')
-rw-r--r--src/devices/video/pwm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/pwm.cpp b/src/devices/video/pwm.cpp
index d1d5064be87..a09c25bb326 100644
--- a/src/devices/video/pwm.cpp
+++ b/src/devices/video/pwm.cpp
@@ -36,7 +36,7 @@ TODO:
*/
#include "emu.h"
-#include "video/pwm.h"
+#include "pwm.h"
#include <algorithm>
@@ -274,11 +274,11 @@ void pwm_display_device::sync()
{
const attotime now = machine().time();
const attotime last = m_sync_time;
- m_sync_time = now;
if (last >= now)
return;
+ m_sync_time = now;
const attotime diff = now - last;
u64 sel = m_rowsel;