summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/tms1024.h
diff options
context:
space:
mode:
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();