diff options
author | 2016-10-21 12:35:05 +0200 | |
---|---|---|
committer | 2016-10-21 12:35:05 +0200 | |
commit | d2e8f6114903bd3f4841cec91bc77c1ca7e8dca4 (patch) | |
tree | 88327ab5fc2eda9fbd905f284584fe5879fbe0a1 /src/lib/formats/cqm_dsk.cpp | |
parent | a291e77b2cfc4ce1b780db0d8fa664fb8094d365 (diff) |
dynamic_buffer is just std::vector<UINT8> (nw)
Diffstat (limited to 'src/lib/formats/cqm_dsk.cpp')
-rw-r--r-- | src/lib/formats/cqm_dsk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/cqm_dsk.cpp b/src/lib/formats/cqm_dsk.cpp index ff191aec56c..94ba350c2a4 100644 --- a/src/lib/formats/cqm_dsk.cpp +++ b/src/lib/formats/cqm_dsk.cpp @@ -275,7 +275,7 @@ int cqm_format::identify(io_generic *io, UINT32 form_factor) bool cqm_format::load(io_generic *io, UINT32 form_factor, floppy_image *image) { const int max_size = 4*1024*1024; // 4MB ought to be large enough for any floppy - dynamic_buffer imagebuf(max_size); + std::vector<UINT8> imagebuf(max_size); UINT8 header[CQM_HEADER_SIZE]; io_generic_read(io, header, 0, CQM_HEADER_SIZE); @@ -318,7 +318,7 @@ bool cqm_format::load(io_generic *io, UINT32 form_factor, floppy_image *image) int base_cell_count = rate*60/rpm; int cqm_size = io_generic_size(io); - dynamic_buffer cqmbuf(cqm_size); + std::vector<UINT8> cqmbuf(cqm_size); io_generic_read(io, &cqmbuf[0], 0, cqm_size); // decode the RLE data |