openMSX
MSXSwitchedDevice.cc
Go to the documentation of this file.
2#include "MSXDeviceSwitch.hh"
3#include "MSXMotherBoard.hh"
4
5namespace openmsx {
6
8 : motherBoard(motherBoard_), id(id_)
9{
10 motherBoard.getDeviceSwitch().registerDevice(id, this);
11}
12
17
18} // namespace openmsx
uintptr_t id
void registerDevice(byte id, MSXSwitchedDevice *device)
MSXDeviceSwitch & getDeviceSwitch()
MSXSwitchedDevice(MSXMotherBoard &motherBoard, byte id)
This file implemented 3 utility functions:
Definition Autofire.cc:11