bsnes/higan/ws/system/system.hpp

25 lines
483 B
C++
Raw Normal View History

struct System {
enum class Revision : uint {
WonderSwan, //SW-001 (ASWAN)
WonderSwanColor, //WSC-001 (SPHINX)
SwanCrystal, //SCT-001 (SPHINX2)
};
auto revision() const -> Revision;
auto init() -> void;
auto term() -> void;
auto load(Revision) -> void;
auto power() -> void;
auto run() -> void;
struct Information {
string manifest;
} information;
privileged:
Revision _revision = Revision::WonderSwan;
};
extern System system;