openMSX
DummyDevice.hh
Go to the documentation of this file.
1 #ifndef DUMMYDEVICE_HH
2 #define DUMMYDEVICE_HH
3 
4 #include "MSXDevice.hh"
5 
6 namespace openmsx {
7 
8 class DummyDevice final : public MSXDevice
9 {
10 public:
11  explicit DummyDevice(const DeviceConfig& config);
12  void reset(EmuTime::param time) override;
13  void getNameList(TclObject& result) const override;
14 };
15 
16 } // namespace openmsx
17 
18 #endif
DummyDevice(const DeviceConfig &config)
Definition: DummyDevice.cc:6
void reset(EmuTime::param time) override
This method is called on reset.
Definition: DummyDevice.cc:11
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX...
Definition: MSXDevice.hh:31
void getNameList(TclObject &result) const override
Returns list of name(s) of this device.
Definition: DummyDevice.cc:16