mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-03 22:33:29 +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 {
|
||||
public:
|
||||
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;
|
||||
void set_tracks(const std::map<Track::Address, std::shared_ptr<Track>> &tracks) final;
|
||||
@ -30,6 +29,7 @@ class MFMSectorDump: public DiskImage {
|
||||
|
||||
protected:
|
||||
Storage::FileHolder file_;
|
||||
void set_geometry(int sectors_per_track, uint8_t sector_size, uint8_t first_sector, bool is_double_density);
|
||||
|
||||
private:
|
||||
virtual long get_file_offset_for_position(Track::Address address) = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user