summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/video/hd44780.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-07-22 06:14:55 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-07-22 06:14:55 +0000
commit5d7e1fcc62a7f9dd5441eaccbc274f9327efcf00 (patch)
tree59a6e5c3c090f1f83dfd20359ab321fb69713e00 /src/emu/video/hd44780.c
parentc4e9058ee26841baae4c0fd51e081949747d5f48 (diff)
Cleanups and version bump
Diffstat (limited to 'src/emu/video/hd44780.c')
-rw-r--r--src/emu/video/hd44780.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video/hd44780.c b/src/emu/video/hd44780.c
index 95056e2c4a1..f9827f9afe8 100644
--- a/src/emu/video/hd44780.c
+++ b/src/emu/video/hd44780.c
@@ -189,7 +189,7 @@ void hd44780_device::correct_ac()
if (m_active_ram == DDRAM)
{
int max_ac = (m_num_line == 1) ? 0x4f : 0x67;
-
+
if (m_ac > max_ac)
m_ac -= max_ac + 1;
else if (m_ac < 0)
@@ -214,7 +214,7 @@ void hd44780_device::update_ac(int direction)
void hd44780_device::shift_display(int direction)
{
m_disp_shift += direction;
-
+
if (m_disp_shift == 0x50)
m_disp_shift = 0;
else if (m_disp_shift == -1)