| 1 |
#ifndef RENSHATURBO_HH |
| 2 |
#define RENSHATURBO_HH |
| 3 |
|
| 4 |
#include "Autofire.hh" |
| 5 |
#include "EmuTime.hh" |
| 6 |
#include <optional> |
| 7 |
|
| 8 |
namespace openmsx { |
| 9 |
|
| 10 |
class MSXMotherBoard; |
| 11 |
class XMLElement; |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
class RenShaTurbo |
| 21 |
{ |
| 22 |
public: |
| 23 |
RenShaTurbo(MSXMotherBoard& motherBoard, |
| 24 |
const XMLElement& machineConfig); |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
[[nodiscard]] bool getSignal(EmuTime time); |
| 31 |
|
| 32 |
template<typename Archive> |
| 33 |
void serialize(Archive& ar, unsigned version); |
| 34 |
|
| 35 |
private: |
| 36 |
|
| 37 |
std::optional<Autofire> autofire; |
| 38 |
}; |
| 39 |
|
| 40 |
} |
| 41 |
|
| 42 |
#endif |