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
8namespace openmsx {
9
10class RomMultiRom final : public Rom16kBBlocks
11{
12public:
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
20private:
21 byte counter;
22};
23
24} // namespace openmsx
25
26#endif
RomMultiRom(const DeviceConfig &config, Rom &&rom)
Definition: RomMultiRom.cc:11
void reset(EmuTime::param time) override
This method is called on reset.
Definition: RomMultiRom.cc:18
void serialize(Archive &ar, unsigned version)
Definition: RomMultiRom.cc:27
This file implemented 3 utility functions:
Definition: Autofire.cc:9