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
bool getEnum() const noexcept
Definition: EnumSetting.hh:96
void serialize(Archive &ar, unsigned version)
Definition: RomMultiRom.cc:28
void reset(EmuTime::param time) override
This method is called on reset.
Definition: RomMultiRom.cc:19
RomMultiRom(const DeviceConfig &config, Rom &&rom)
Definition: RomMultiRom.cc:10