mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
Bumps up the amount of reserved storage.
To avoid a reallocation when reading Mac data.
This commit is contained in:
parent
0568996264
commit
46b98dab70
@ -83,7 +83,7 @@ std::map<std::size_t, Sector> Storage::Encodings::AppleGCR::sectors_from_segment
|
||||
// one header has been witnessed, start a sector.
|
||||
if(scanner[2] == data_prologue[2]) {
|
||||
new_sector.reset(new Sector);
|
||||
new_sector->data.reserve(412);
|
||||
new_sector->data.reserve(710);
|
||||
} else {
|
||||
sector_location = static_cast<std::size_t>(bit % segment.data.size());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user