OXYGENHUB
◆ main openmsx / src / memory / RomRType.hh
399 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef ROMRTYPE_HH
2
#define ROMRTYPE_HH
3
4
#include "RomBlocks.hh"
5
6
namespace openmsx {
7
8
class RomRType final : public Rom16kBBlocks
9
{
10
public:
11
	RomRType(const DeviceConfig& config, Rom&& rom);
12
13
	void reset(EmuTime time) override;
14
	void writeMem(uint16_t address, byte value, EmuTime time) override;
15
	[[nodiscard]] byte* getWriteCacheLine(uint16_t address) override;
16
};
17
18
} // namespace openmsx
19
20
#endif