openMSX
EmptyDiskPatch.hh
Go to the documentation of this file.
1#ifndef EMPTYDISKPATCH_HH
2#define EMPTYDISKPATCH_HH
3
4#include "PatchInterface.hh"
5
6namespace openmsx {
7
8class SectorAccessibleDisk;
9
10class EmptyDiskPatch final : public PatchInterface
11{
12public:
14
15 void copyBlock(size_t src, std::span<uint8_t> dst) const override;
16 [[nodiscard]] size_t getSize() const override;
17 [[nodiscard]] std::vector<Filename> getFilenames() const override;
18 [[nodiscard]] bool isEmptyPatch() const override { return true; }
19
20private:
22};
23
24} // namespace openmsx
25
26#endif
void copyBlock(size_t src, std::span< uint8_t > dst) const override
std::vector< Filename > getFilenames() const override
bool isEmptyPatch() const override
size_t getSize() const override
This file implemented 3 utility functions:
Definition Autofire.cc:11