| 1 |
#ifndef ROMMAJUTSUSHI_HH |
| 2 |
#define ROMMAJUTSUSHI_HH |
| 3 |
|
| 4 |
#include "RomKonami.hh" |
| 5 |
|
| 6 |
#include "DACSound8U.hh" |
| 7 |
|
| 8 |
namespace openmsx { |
| 9 |
|
| 10 |
class RomMajutsushi final : public RomKonami |
| 11 |
{ |
| 12 |
public: |
| 13 |
RomMajutsushi(const DeviceConfig& config, Rom&& rom); |
| 14 |
|
| 15 |
void reset(EmuTime time) override; |
| 16 |
void writeMem(uint16_t address, byte value, EmuTime time) override; |
| 17 |
[[nodiscard]] byte* getWriteCacheLine(uint16_t address) override; |
| 18 |
|
| 19 |
template<typename Archive> |
| 20 |
void serialize(Archive& ar, unsigned version); |
| 21 |
|
| 22 |
private: |
| 23 |
DACSound8U dac; |
| 24 |
}; |
| 25 |
|
| 26 |
} |
| 27 |
|
| 28 |
#endif |