mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-04-16 08:45:38 +02:00
byuu says: Changelog: - adds XML memory mapping to cartridge loading; nall/gameboy/cartridge.hpp will bullshit one for now - still need to add proper MMM01 detection (menu code goes at end of ROM apparently) - added save state support, which works here (but not inside bsnes, go figure), to aid in debugging. Expect constant changes for now a long while, it's way too early to add states
33 lines
583 B
C++
Executable File
33 lines
583 B
C++
Executable File
#include <nall/file.hpp>
|
|
#include <nall/foreach.hpp>
|
|
#include <nall/stdint.hpp>
|
|
#include <nall/string.hpp>
|
|
#include <nall/gameboy/cartridge.hpp>
|
|
using namespace nall;
|
|
|
|
#include <ruby/ruby.hpp>
|
|
using namespace ruby;
|
|
|
|
#include <phoenix/phoenix.hpp>
|
|
using namespace phoenix;
|
|
|
|
#include <gameboy/gameboy.hpp>
|
|
|
|
#include "interface.hpp"
|
|
|
|
#include "general/main-window.hpp"
|
|
|
|
#include "utility/utility.hpp"
|
|
|
|
struct Application {
|
|
bool quit;
|
|
|
|
Font proportionalFont;
|
|
Font proportionalFontBold;
|
|
Font monospaceFont;
|
|
|
|
void main(int argc, char **argv);
|
|
};
|
|
|
|
extern Application application;
|