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:
parent
3982e375e3
commit
5dda897334
@ -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);
|
||||||
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user