| e8555c89 Andy McCall |
1 |
#ifndef FDCDUMMYBACKEND_HH |
| 2 |
#define FDCDUMMYBACKEND_HH |
| 3 |
|
| 4 |
#include "SectorBasedDisk.hh" |
| 5 |
|
| 6 |
namespace openmsx { |
| 7 |
|
| 8 |
class DummyDisk final : public SectorBasedDisk |
| 9 |
{ |
| 10 |
public: |
| 11 |
DummyDisk(); |
| 12 |
[[nodiscard]] bool isDummyDisk() const override; |
| 13 |
|
| 14 |
private: |
| 15 |
void readSectorImpl (size_t sector, SectorBuffer& buf) override; |
| 16 |
void writeSectorImpl(size_t sector, const SectorBuffer& buf) override; |
| 17 |
[[nodiscard]] bool isWriteProtectedImpl() const override; |
| 18 |
}; |
| 19 |
|
| 20 |
} |
| 21 |
|
| 22 |
#endif |