1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Changes function name to sector_size — into line with idioms.

This commit is contained in:
Thomas Harte 2017-09-26 22:00:19 -04:00
parent 3982e375e3
commit 5dda897334
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
using namespace Storage::Encodings::MFM; using namespace Storage::Encodings::MFM;
std::map<size_t, Storage::Encodings::MFM::Sector> Storage::Encodings::MFM::SectorsFromSegment(const Storage::Disk::PCMSegment &&segment, bool is_double_density) { std::map<size_t, Storage::Encodings::MFM::Sector> Storage::Encodings::MFM::sectors_from_segment(const Storage::Disk::PCMSegment &&segment, bool is_double_density) {
std::map<size_t, Sector> result; std::map<size_t, Sector> result;
Shifter shifter; Shifter shifter;
shifter.set_is_double_density(is_double_density); shifter.set_is_double_density(is_double_density);

View File

@ -21,7 +21,7 @@ namespace MFM {
Scans @c segment for all included sectors, returning a set that maps from location within Scans @c segment for all included sectors, returning a set that maps from location within
the segment (counted in bits from the beginning) to sector. the segment (counted in bits from the beginning) to sector.
*/ */
std::map<size_t, Sector> SectorsFromSegment(const Disk::PCMSegment &&segment, bool is_double_density); std::map<size_t, Sector> sectors_from_segment(const Disk::PCMSegment &&segment, bool is_double_density);
} }
} }