diff options
author | 2020-09-27 01:24:38 +1000 | |
---|---|---|
committer | 2020-09-27 01:24:38 +1000 | |
commit | b38ffb6bff20044d368fcde3f3bfdd00ae905f22 (patch) | |
tree | c7c07a82a61264806ec69cc514fff0d71e90e2aa /src/lib/util/vecstream.cpp | |
parent | 59ae905ee3597650bbcd01cff85a1f5cefa783c2 (diff) |
Changed some sound devices back to using std::unique_ptr<T []> for
things that don't need to change size.
Using a std::vector has additional overhead for keeping the size and
allocated size, and it means you can inadvertently resize it. Also, if
you register one for save state then cause it to reallocate, very bad
things happen.
Fixed some mixed tab/space indents in sound/mm5837.h
Changed namco_163.cpp to have registers as an array in the device, since
there aren't many of them, and also restored zeroing them on start.
Diffstat (limited to 'src/lib/util/vecstream.cpp')
0 files changed, 0 insertions, 0 deletions