OXYGENHUB
◆ main openmsx / src / DummyPrinterPortDevice.cc
611 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#include "DummyPrinterPortDevice.hh"
2
3
namespace openmsx {
4
5
bool DummyPrinterPortDevice::getStatus(EmuTime /*time*/)
6
{
7
	return true; // true = high = not ready
8
}
9
10
void DummyPrinterPortDevice::setStrobe(bool /*strobe*/, EmuTime /*time*/)
11
{
12
	// ignore strobe
13
}
14
15
void DummyPrinterPortDevice::writeData(uint8_t /*data*/, EmuTime /*time*/)
16
{
17
	// ignore data
18
}
19
20
zstring_view DummyPrinterPortDevice::getDescription() const
21
{
22
	return {};
23
}
24
25
void DummyPrinterPortDevice::plugHelper(
26
	Connector& /*connector*/, EmuTime /*time*/)
27
{
28
}
29
30
void DummyPrinterPortDevice::unplugHelper(EmuTime /*time*/)
31
{
32
}
33
34
} // namespace openmsx