OXYGENHUB
◆ main openmsx / src / memory / RomMultiRom.hh
385 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
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 time) override;
16
17
	template<typename Archive>
18
	void serialize(Archive& ar, unsigned version);
19
20
private:
21
	byte counter = 7;
22
};
23
24
} // namespace openmsx
25
26
#endif