mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-10-04 21:41:46 +02:00
byuu says: higan changelog: - generates title displayed in emulator window by asking the core - core builds title solely from "information/title" ... if it's not there, you don't get a title at all - sub-system load menu is gone ... since there are multiple revisions of the SGB, this never really worked well anyway - to load an SGB, BS-X or ST cartridge, load the base cartridge first - "File->Load Game" moved to "Load->Import Game" ... may cause a bit of confusion to new users, but I don't like having a single-item menu, we'll just have to explain it to new users - browser window redone to look like ananke - home button here goes to ~/Emulation rather than just ~ like ananke, since this is the home of game folders - game folder icon is now the executable icon for the Tango theme (orange diamond), meant to represent a complete game rather than a game file or archive ananke changelog: - outputs GBC games to "Game Boy Color/" instead of "Game Boy/" - adds the file basename to "information/title" Known issues: - using ananke to load a GB game trips the Super Famicom SGB mode and fails (need to make the full-path auto-detection ignore non-bootable systems) - need to dump and test some BS-X media before releasing - ananke lacks BS-X Satellaview cartridge support - v092 isn't going to let you retarget the ananke/higan game folder path of ~/Emulation, you will have to wait for a future version if that bothers you so greatly [Later, after the v092 release, byuu posted this additional changelog: - kill laevateinn - add title() - add bootable, remove load - combine file, library - combine [][][] paths - fix SFC subtype handling XML->BML - update file browser to use buttons - update file browser keyboard handling - update system XML->BML - fix sufami turbo hashing - remove Cartridge::manifest ]
127 lines
1.9 KiB
C++
Executable File
127 lines
1.9 KiB
C++
Executable File
#ifndef SFC_HPP
|
|
namespace SuperFamicom {
|
|
#endif
|
|
|
|
struct ID {
|
|
enum : unsigned {
|
|
//cartridges (folders)
|
|
System,
|
|
SuperFamicom,
|
|
SuperGameBoy,
|
|
Satellaview,
|
|
SufamiTurboSlotA,
|
|
SufamiTurboSlotB,
|
|
|
|
//memory (files)
|
|
IPLROM,
|
|
|
|
ROM,
|
|
RAM,
|
|
|
|
EventROM0,
|
|
EventROM1,
|
|
EventROM2,
|
|
EventROM3,
|
|
EventRAM,
|
|
|
|
SA1ROM,
|
|
SA1IRAM,
|
|
SA1BWRAM,
|
|
|
|
SuperFXROM,
|
|
SuperFXRAM,
|
|
|
|
ArmDSPPROM,
|
|
ArmDSPDROM,
|
|
ArmDSPRAM,
|
|
|
|
HitachiDSPROM,
|
|
HitachiDSPRAM,
|
|
HitachiDSPDROM,
|
|
HitachiDSPDRAM,
|
|
|
|
Nec7725DSPPROM,
|
|
Nec7725DSPDROM,
|
|
Nec7725DSPRAM,
|
|
|
|
Nec96050DSPPROM,
|
|
Nec96050DSPDROM,
|
|
Nec96050DSPRAM,
|
|
|
|
EpsonRTC,
|
|
SharpRTC,
|
|
|
|
SPC7110PROM,
|
|
SPC7110DROM,
|
|
SPC7110RAM,
|
|
|
|
SDD1ROM,
|
|
SDD1RAM,
|
|
|
|
OBC1RAM,
|
|
|
|
SuperGameBoyBootROM,
|
|
SuperGameBoyROM,
|
|
SuperGameBoyRAM,
|
|
|
|
BsxFlashROM,
|
|
BsxROM,
|
|
BsxRAM,
|
|
BsxPSRAM,
|
|
|
|
SufamiTurboSlotAROM,
|
|
SufamiTurboSlotBROM,
|
|
SufamiTurboSlotARAM,
|
|
SufamiTurboSlotBRAM,
|
|
|
|
//controller ports
|
|
Port1 = 1,
|
|
Port2 = 2,
|
|
};
|
|
};
|
|
|
|
struct Interface : Emulator::Interface {
|
|
string title();
|
|
double videoFrequency();
|
|
double audioFrequency();
|
|
|
|
bool loaded();
|
|
string sha256();
|
|
unsigned group(unsigned id);
|
|
void load(unsigned id, const string &manifest);
|
|
void save();
|
|
void load(unsigned id, const stream &stream, const string &markup = "");
|
|
void save(unsigned id, const stream &stream);
|
|
void unload();
|
|
|
|
void connect(unsigned port, unsigned device);
|
|
void power();
|
|
void reset();
|
|
void run();
|
|
|
|
bool rtc();
|
|
void rtcsync();
|
|
|
|
serializer serialize();
|
|
bool unserialize(serializer&);
|
|
|
|
void cheatSet(const lstring&);
|
|
|
|
void paletteUpdate();
|
|
|
|
//debugger functions
|
|
bool tracerEnable(bool);
|
|
void exportMemory();
|
|
|
|
Interface();
|
|
|
|
file tracer;
|
|
vector<Device> device;
|
|
};
|
|
|
|
extern Interface *interface;
|
|
|
|
#ifndef SFC_HPP
|
|
}
|
|
#endif
|