openMSX
|
#include <EmptyDiskPatch.hh>
Public Member Functions | |
EmptyDiskPatch (SectorAccessibleDisk &disk) | |
void | copyBlock (size_t src, std::span< uint8_t > dst) const override |
size_t | getSize () const override |
std::vector< Filename > | getFilenames () const override |
bool | isEmptyPatch () const override |
![]() | |
virtual | ~PatchInterface ()=default |
virtual void | copyBlock (size_t src, std::span< uint8_t > dst) const =0 |
virtual size_t | getSize () const =0 |
virtual std::vector< Filename > | getFilenames () const =0 |
virtual bool | isEmptyPatch () const |
Definition at line 10 of file EmptyDiskPatch.hh.
|
explicit |
Definition at line 7 of file EmptyDiskPatch.cc.
|
overridevirtual |
Implements openmsx::PatchInterface.
Definition at line 12 of file EmptyDiskPatch.cc.
References openmsx::SectorAccessibleDisk::readSectorsImpl(), and openmsx::SectorAccessibleDisk::SECTOR_SIZE.
|
overridevirtual |
Implements openmsx::PatchInterface.
Definition at line 26 of file EmptyDiskPatch.cc.
|
overridevirtual |
Implements openmsx::PatchInterface.
Definition at line 21 of file EmptyDiskPatch.cc.
References openmsx::SectorAccessibleDisk::getNbSectors(), and openmsx::SectorAccessibleDisk::SECTOR_SIZE.
|
inlineoverridevirtual |
Reimplemented from openmsx::PatchInterface.
Definition at line 18 of file EmptyDiskPatch.hh.