diff options
| author | 2016-03-03 03:52:21 +1100 | |
|---|---|---|
| committer | 2016-03-03 03:53:43 +1100 | |
| commit | ed88fd30a1804b296ea635c8a507c81c676ddbd4 (patch) | |
| tree | 69226f0cf072f933823934a327f0d6042d1caf9a /src/emu/debug/dvdisasm.cpp | |
| parent | 42ea68285296b7838fe9a3ce7e5d66061c8f7e21 (diff) | |
More stream enhancement
Diffstat (limited to 'src/emu/debug/dvdisasm.cpp')
| -rw-r--r-- | src/emu/debug/dvdisasm.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/emu/debug/dvdisasm.cpp b/src/emu/debug/dvdisasm.cpp index e55545befd3..6daca107f86 100644 --- a/src/emu/debug/dvdisasm.cpp +++ b/src/emu/debug/dvdisasm.cpp @@ -370,10 +370,7 @@ bool debug_view_disasm::recompute(offs_t pc, int startline, int lines) // allocate disassembly buffer const auto total_bytes = m_total.x * m_total.y; - m_dasm.reserve(total_bytes); - const auto current_bytes = m_dasm.seekp(0, util::ovectorstream::end).tellp(); - if (current_bytes < util::ovectorstream::pos_type(total_bytes)) - util::stream_format(m_dasm, "%*s", total_bytes - int(current_bytes), ""); + m_dasm.reserve(total_bytes).seekp(total_bytes); // iterate over lines for (int line = 0; line < lines; line++) |
