OXYGENHUB
◆ main openmsx / src / cpu / MSXMultiDevice.cc
670 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 1
#include "MSXMultiDevice.hh"
2
3
#include "DeviceConfig.hh"
4
#include "XMLElement.hh"
5
6
#include "unreachable.hh"
7
8
namespace openmsx {
9
10
static DeviceConfig getMultiConfig(HardwareConfig& hwConf)
11
{
12
	static XMLElement* xml = [] {
13
		auto& doc = XMLDocument::getStaticDocument();
14
		return doc.allocateElement("Multi");
15
	}();
16
	return {hwConf, *xml};
17
}
18
19
MSXMultiDevice::MSXMultiDevice(HardwareConfig& hwConf)
20
	: MSXDevice(getMultiConfig(hwConf), "Multi")
21
{
22
}
23
24
void MSXMultiDevice::reset(EmuTime /*time*/)
25
{
26
	UNREACHABLE;
27
}
28
29
void MSXMultiDevice::powerUp(EmuTime /*time*/)
30
{
31
	UNREACHABLE;
32
}
33
34
void MSXMultiDevice::powerDown(EmuTime /*time*/)
35
{
36
	UNREACHABLE;
37
}
38
39
} // namespace openmsx