openMSX
RomPlain.hh
Go to the documentation of this file.
1 #ifndef ROMPLAIN_HH
2 #define ROMPLAIN_HH
3 
4 #include "RomBlocks.hh"
5 
6 namespace openmsx {
7 
8 class RomPlain final : public Rom8kBBlocks
9 {
10 public:
12 
13  RomPlain(const DeviceConfig& config, Rom&& rom,
14  MirrorType mirrored, int start = -1);
15 
16 private:
17  void guessHelper(unsigned offset, int* pages);
18  unsigned guessLocation(unsigned windowBase, unsigned windowSize);
19 };
20 
21 } // namespace openmsx
22 
23 #endif
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
RomPlain(const DeviceConfig &config, Rom &&rom, MirrorType mirrored, int start=-1)
Definition: RomPlain.cc:21