openMSX
RomKonami.hh
Go to the documentation of this file.
1 #ifndef ROMKONAMI_HH
2 #define ROMKONAMI_HH
3 
4 #include "RomBlocks.hh"
5 
6 namespace openmsx {
7 
8 class RomKonami : public Rom8kBBlocks
9 {
10 public:
11  RomKonami(const DeviceConfig& config, std::unique_ptr<Rom> rom);
12 
13  virtual void reset(EmuTime::param time);
14  virtual void writeMem(word address, byte value, EmuTime::param time);
15  virtual byte* getWriteCacheLine(word address) const;
16 
17  template<typename Archive>
18  void serialize(Archive& ar, unsigned version);
19 };
20 
21 REGISTER_BASE_CLASS(RomKonami, "RomKonami");
22 
23 } // namespace openmsx
24 
25 #endif