openMSX
RomMultiRom.hh
Go to the documentation of this file.
1 //
2 
3 #ifndef ROMMULTIROM_HH
4 #define ROMMULTIROM_HH
5 
6 #include "RomBlocks.hh"
7 
8 namespace openmsx {
9 
10 class RomMultiRom final : public Rom16kBBlocks
11 {
12 public:
13  RomMultiRom(const DeviceConfig& config, Rom&& rom);
14 
15  void reset(EmuTime::param time) override;
16 
17  template<typename Archive>
18  void serialize(Archive& ar, unsigned version);
19 
20 private:
21  byte counter;
22 };
23 
24 } // namespace openmsx
25 
26 #endif
openmsx::RomMultiRom::serialize
void serialize(Archive &ar, unsigned version)
Definition: RomMultiRom.cc:28
openmsx::DeviceConfig
Definition: DeviceConfig.hh:20
openmsx::RomMultiRom::reset
void reset(EmuTime::param time) override
This method is called on reset.
Definition: RomMultiRom.cc:19
openmsx::RomMultiRom
Definition: RomMultiRom.hh:11
openmsx::RomBlocks
Definition: RomBlocks.hh:14
openmsx::RomMultiRom::RomMultiRom
RomMultiRom(const DeviceConfig &config, Rom &&rom)
Definition: RomMultiRom.cc:10
openmsx::MSXRom::rom
Rom rom
Definition: MSXRom.hh:20
openmsx::Rom
Definition: Rom.hh:21
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5
RomBlocks.hh