mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-21 05:29:13 +00:00
Protect set_geometry.
This commit is contained in:
parent
07b32844af
commit
f7acecfbff
@ -22,7 +22,6 @@ namespace Storage::Disk {
|
|||||||
class MFMSectorDump: public DiskImage {
|
class MFMSectorDump: public DiskImage {
|
||||||
public:
|
public:
|
||||||
MFMSectorDump(const std::string &file_name);
|
MFMSectorDump(const std::string &file_name);
|
||||||
void set_geometry(int sectors_per_track, uint8_t sector_size, uint8_t first_sector, bool is_double_density);
|
|
||||||
|
|
||||||
bool get_is_read_only() final;
|
bool get_is_read_only() final;
|
||||||
void set_tracks(const std::map<Track::Address, std::shared_ptr<Track>> &tracks) final;
|
void set_tracks(const std::map<Track::Address, std::shared_ptr<Track>> &tracks) final;
|
||||||
@ -30,6 +29,7 @@ class MFMSectorDump: public DiskImage {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
Storage::FileHolder file_;
|
Storage::FileHolder file_;
|
||||||
|
void set_geometry(int sectors_per_track, uint8_t sector_size, uint8_t first_sector, bool is_double_density);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual long get_file_offset_for_position(Track::Address address) = 0;
|
virtual long get_file_offset_for_position(Track::Address address) = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user