15 return "Dongle used by some Japanese games to enable cheat mode";
38 template<
typename Archive>
Represents something you can plug devices into.
static constexpr int JOY_BUTTONA
static constexpr int JOY_RIGHT
static constexpr int JOY_LEFT
static constexpr int JOY_BUTTONB
byte read(EmuTime::param time) override
Read from the joystick device.
void write(byte value, EmuTime::param time) override
Write a value to the joystick device.
void serialize(Archive &ar, unsigned version)
std::string_view getDescription() const override
Description for this pluggable.
void plugHelper(Connector &connector, EmuTime::param time) override
std::string_view getName() const override
Name used to identify this pluggable.
void unplugHelper(EmuTime::param time) override
This file implemented 3 utility functions:
REGISTER_POLYMORPHIC_INITIALIZER(Pluggable, CassettePlayer, "CassettePlayer")
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)