summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vtech/memexp/floppy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vtech/memexp/floppy.cpp')
-rw-r--r--src/devices/bus/vtech/memexp/floppy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/vtech/memexp/floppy.cpp b/src/devices/bus/vtech/memexp/floppy.cpp
index 1b3cfa2d91d..df42dc5a5f9 100644
--- a/src/devices/bus/vtech/memexp/floppy.cpp
+++ b/src/devices/bus/vtech/memexp/floppy.cpp
@@ -191,7 +191,7 @@ void vtech_floppy_controller_device::latch_w(uint8_t data)
}
}
if(!(m_latch & 0x40) && (diff & 0x20)) {
- if(m_write_position == ARRAY_LENGTH(m_write_buffer)) {
+ if(m_write_position == std::size(m_write_buffer)) {
update_latching_inverter();
flush_writes(true);
}