summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/tms1024.h
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-07-24 13:31:04 +0200
committer hap <happppp@users.noreply.github.com>2020-07-24 13:31:36 +0200
commitb44810404e8548c64337a1e0bd86f47603120b4c (patch)
tree637abf31370b940d670d2fb8342d421c6d4a07e5 /src/devices/machine/tms1024.h
parentc9afe852360bacea3c4cba2d95ad28c658fa0783 (diff)
added Hughes HLCD 0438 LCD Driver device
Diffstat (limited to 'src/devices/machine/tms1024.h')
-rw-r--r--src/devices/machine/tms1024.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/tms1024.h b/src/devices/machine/tms1024.h
index 1920c5efb42..49193191bfa 100644
--- a/src/devices/machine/tms1024.h
+++ b/src/devices/machine/tms1024.h
@@ -68,7 +68,7 @@ public:
auto write_port5_callback() { return m_write_port[4].bind(); }
auto write_port6_callback() { return m_write_port[5].bind(); }
auto write_port7_callback() { return m_write_port[6].bind(); }
- tms1024_device &set_ms(u8 i) { m_ms = i & 1; return *this; } // if hardwired, can just set MS pin state here
+ tms1024_device &set_ms(int state) { m_ms = state ? 1 : 0; return *this; } // if hardwired, can just set MS pin state here
void write_h(u8 data);
u8 read_h();