openMSX
|
Some MSX device parts are shared between several MSX devices (e.g. More...
#include <MSXMotherBoard.hh>
Public Member Functions | |
SharedStuff () | |
Public Attributes | |
void * | stuff |
unsigned | counter |
Some MSX device parts are shared between several MSX devices (e.g.
all memory mappers share IO ports 0xFC-0xFF). But this sharing is limited to one MSX machine. This method offers the storage to implement per-machine reference counted objects. TODO This doesn't play nicely with savestates. For example memory mappers don't use this mechanism anymore because of this. Maybe this method can be removed when savestates are finished.
Definition at line 142 of file MSXMotherBoard.hh.
|
inline |
Definition at line 143 of file MSXMotherBoard.hh.
unsigned openmsx::MSXMotherBoard::SharedStuff::counter |
Definition at line 145 of file MSXMotherBoard.hh.
void* openmsx::MSXMotherBoard::SharedStuff::stuff |
Definition at line 144 of file MSXMotherBoard.hh.