summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/hlcd0515.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-04-10 15:32:58 +0200
committer hap <happppp@users.noreply.github.com>2020-04-10 15:33:13 +0200
commitd708a863250999d3069a395f02a017dd49356b31 (patch)
tree66a854716d8c4d720030d2d710f6c09d65de620e /src/devices/video/hlcd0515.cpp
parent4af78838adea662a43f1c1580e9ec158529d9e02 (diff)
added Philips PCF2100 LCD Driver (nw)
Diffstat (limited to 'src/devices/video/hlcd0515.cpp')
-rw-r--r--src/devices/video/hlcd0515.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/video/hlcd0515.cpp b/src/devices/video/hlcd0515.cpp
index 5a7f4e911e5..911b6f0320c 100644
--- a/src/devices/video/hlcd0515.cpp
+++ b/src/devices/video/hlcd0515.cpp
@@ -64,7 +64,8 @@ void hlcd0515_device::device_start()
// timer
m_lcd_timer = timer_alloc();
- m_lcd_timer->adjust(attotime::from_hz(clock() / 2), 0, attotime::from_hz(clock() / 2));
+ attotime period = attotime::from_hz(clock() / 2);
+ m_lcd_timer->adjust(period, 0, period);
// zerofill
m_cs = 0;
@@ -98,7 +99,7 @@ void hlcd0515_device::device_start()
//-------------------------------------------------
-// device_timer - handler timer events
+// device_timer - handle timer events
//-------------------------------------------------
void hlcd0515_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)