bsnes/gba/system/system.hpp
Tim Allen 41c478ac4a Update to v095r07 release.
byuu says:

Changelog:
- entire GBA core ported to auto function() -> return; syntax
- fixed GBA BLDY bug that was causing flickering in a few games
- replaced nall/config usage with nall/string/markup/node
  - this merges all configuration files to a unified settings.bml file
- added "Ignore Manifests" option to the advanced setting tab
  - this lets you keep a manifest.bml for an older version of higan; if
    you want to do regression testing

Be sure to remap your controller/hotkey inputs, and for SNES, choose
"Gamepad" from "Controller Port 1" in the system menu. Otherwise you
won't get any input. No need to blow away your old config files, unless
you want to.
2015-11-16 19:38:05 +11:00

42 lines
831 B
C++

enum class Input : uint {
A, B, Select, Start, Right, Left, Up, Down, R, L,
};
struct BIOS : Memory {
BIOS();
~BIOS();
auto read(uint mode, uint32 addr) -> uint32 override;
auto write(uint mode, uint32 addr, uint32 word) -> void override;
uint8* data = nullptr;
uint size = 0;
uint32 mdr = 0;
};
struct System {
auto init() -> void;
auto term() -> void;
auto load() -> void;
auto power() -> void;
auto run() -> void;
auto runtosave() -> void;
auto runthreadtosave() -> void;
auto serialize() -> serializer;
auto unserialize(serializer&) -> bool;
auto serialize(serializer&) -> void;
auto serialize_all(serializer&) -> void;
auto serialize_init() -> void;
struct Information {
string manifest;
} information;
uint serialize_size;
};
extern BIOS bios;
extern System system;