diff options
author | 2014-02-20 18:11:00 +0000 | |
---|---|---|
committer | 2014-02-20 18:11:00 +0000 | |
commit | dd15b719a3c01392a36eb3e5710e6cf0d15b6770 (patch) | |
tree | 75954efc8ae4a2073faaacca7298661366b5bf2f /src/emu/ioport.c | |
parent | 9fa82ef4c3d247a7279cea7f423697524abdbd6b (diff) |
Another round of auto_alloc_array conversions.
Some minor enhancements to dynamic_array, including clearing to specific values
and expanding and clearing newly allocated values.
Diffstat (limited to 'src/emu/ioport.c')
-rw-r--r-- | src/emu/ioport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ioport.c b/src/emu/ioport.c index d31e432dff3..146ebf81e5a 100644 --- a/src/emu/ioport.c +++ b/src/emu/ioport.c @@ -1326,7 +1326,7 @@ void natural_keyboard::internal_post(unicode_char ch) // add to the buffer, resizing if necessary m_buffer[m_bufend++] = ch; if ((m_bufend + 1) % m_buffer.count() == m_bufbegin) - m_buffer.resize(m_buffer.count() + KEY_BUFFER_SIZE, true); + m_buffer.resize_keep(m_buffer.count() + KEY_BUFFER_SIZE); m_bufend %= m_buffer.count(); } |