mirror of https://github.com/bsnes-emu/bsnes.git
37 lines
691 B
C++
37 lines
691 B
C++
struct System {
|
|
auto loaded() const -> bool;
|
|
|
|
auto run() -> void;
|
|
auto runToSave() -> void;
|
|
|
|
auto load() -> void;
|
|
auto unload() -> void;
|
|
auto power() -> void;
|
|
auto reset() -> void;
|
|
|
|
auto init() -> void;
|
|
auto term() -> void;
|
|
|
|
//video.cpp
|
|
auto configureVideo() -> void;
|
|
auto configureVideoPalette() -> void;
|
|
|
|
//serialization.cpp
|
|
auto serialize() -> serializer;
|
|
auto unserialize(serializer&) -> bool;
|
|
|
|
auto serialize(serializer&) -> void;
|
|
auto serializeAll(serializer&) -> void;
|
|
auto serializeInit() -> void;
|
|
|
|
struct Information {
|
|
string manifest;
|
|
} information;
|
|
|
|
private:
|
|
bool _loaded = false;
|
|
uint _serializeSize = 0;
|
|
};
|
|
|
|
extern System system;
|