openMSX
DummyDevice.cc
Go to the documentation of this file.
1 #include "DummyDevice.hh"
2 #include "unreachable.hh"
3 
4 namespace openmsx {
5 
7  : MSXDevice(config)
8 {
9 }
10 
11 void DummyDevice::reset(EmuTime::param /*time*/)
12 {
14 }
15 
16 void DummyDevice::getNameList(TclObject& /*result*/) const
17 {
18  // keep empty list
19 }
20 
21 } // namespace openmsx
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
#define UNREACHABLE
Definition: unreachable.hh:38