1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 18:30:21 +00:00

Standardise name.

This commit is contained in:
Thomas Harte 2023-01-12 23:02:24 -05:00
parent 2e7e5ea12b
commit ce440d52b3
7 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@
namespace MSX {
namespace Cartridge {
class ASCII16kbROMSlotHandler: public ROMSlotHandler {
class ASCII16kbROMSlotHandler: public MemorySlotHandler {
public:
ASCII16kbROMSlotHandler(MSX::MemorySlot &slot) : slot_(slot) {}

View File

@ -14,7 +14,7 @@
namespace MSX {
namespace Cartridge {
class ASCII8kbROMSlotHandler: public ROMSlotHandler {
class ASCII8kbROMSlotHandler: public MemorySlotHandler {
public:
ASCII8kbROMSlotHandler(MSX::MemorySlot &slot) : slot_(slot) {}

View File

@ -14,7 +14,7 @@
namespace MSX {
namespace Cartridge {
class KonamiROMSlotHandler: public ROMSlotHandler {
class KonamiROMSlotHandler: public MemorySlotHandler {
public:
KonamiROMSlotHandler(MSX::MemorySlot &slot) : slot_(slot) {}

View File

@ -15,7 +15,7 @@
namespace MSX {
namespace Cartridge {
class KonamiWithSCCROMSlotHandler: public ROMSlotHandler {
class KonamiWithSCCROMSlotHandler: public MemorySlotHandler {
public:
KonamiWithSCCROMSlotHandler(MSX::MemorySlot &slot, Konami::SCC &scc) :
slot_(slot), scc_(scc) {}

View File

@ -21,7 +21,7 @@
namespace MSX {
class DiskROM: public ROMSlotHandler, public WD::WD1770 {
class DiskROM: public MemorySlotHandler, public WD::WD1770 {
public:
DiskROM(const MSX::MemorySlot &slot);

View File

@ -790,7 +790,7 @@ class ConcreteMachine:
/// via the primary slot register.
struct MemorySlot: public MSX::MemorySlot {
HalfCycles cycles_since_update;
std::unique_ptr<ROMSlotHandler> handler;
std::unique_ptr<MemorySlotHandler> handler;
};
MemorySlot memory_slots_[4];
MemorySlot *final_slot_ = nullptr;

View File

@ -70,7 +70,7 @@ class MemorySlot {
std::size_t length);
/// Marks the region indicated by @c destination_address and @c length
/// as unmapped. In practical terms that means that a @c ROMSlotHandler
/// as unmapped. In practical terms that means that a @c MemorySlotHandler
/// will be used to field accesses to that area, allowing for areas that are not
/// backed by memory to be modelled.
void unmap(
@ -89,9 +89,9 @@ class MemorySlot {
inline static MemoryChunk scratch;
};
class ROMSlotHandler {
class MemorySlotHandler {
public:
virtual ~ROMSlotHandler() {}
virtual ~MemorySlotHandler() {}
/*! Advances time by @c half_cycles. */
virtual void run_for([[maybe_unused]] HalfCycles half_cycles) {}