diff options
author | 2017-03-29 12:12:51 +0100 | |
---|---|---|
committer | 2017-03-29 12:12:51 +0100 | |
commit | 0a7765b310b72d4c1c90ec2813edeaef82a42c5c (patch) | |
tree | 6a953926e44bf6b6ee1aaa2698d05e7cd296de08 /src/devices/machine/7200fifo.cpp | |
parent | e8bbf9c239d94a4f3acd1410df160460ffb6ef34 (diff) |
When built with MSVC, clear() resets m_buffer size to 0 and m_buffer[0] throws an exception (nw)
Diffstat (limited to 'src/devices/machine/7200fifo.cpp')
-rw-r--r-- | src/devices/machine/7200fifo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/7200fifo.cpp b/src/devices/machine/7200fifo.cpp index b15f7f551c6..ff2c9205f91 100644 --- a/src/devices/machine/7200fifo.cpp +++ b/src/devices/machine/7200fifo.cpp @@ -59,7 +59,7 @@ void fifo7200_device::device_start() void fifo7200_device::device_reset() { // master reset - m_buffer.clear(); + std::fill(m_buffer.begin(), m_buffer.end(), 0); m_read_ptr = 0; m_write_ptr = 0; |