Files
bsnes/gameboy/system/system.cpp
Tim Allen afdb3c4d20 Update to release v000r07.
byuu says:

Changelog:
- fixed sprite Vflip check
- fixed up window rendering (well, mostly, works great in Megaman II but
  not so great in Makaitoushi SaGa)
- added MBC2, MBC5 (already had MBC0, MBC1)
- removed reset, hooked up power cycle and Vsync toggle
- some other stuff

Makaitoushi SaGa locks on the main menu after some graphical glitches on
the title screen, damn.
Shin Megami Tensei - Devichil Black Book locks up immediately, hitting
HALT opcodes all the time, damn again.

Megaman II should be fully playable now.
Contra 3 is really close, but goes crazy on the turtle boss fight.
2011-01-03 15:28:36 +11:00

25 lines
319 B
C++
Executable File

#include <gameboy/gameboy.hpp>
#define SYSTEM_CPP
namespace GameBoy {
System system;
void System::init(Interface *interface_) {
interface = interface_;
}
void System::power() {
bus.power();
cartridge.power();
cpu.power();
lcd.power();
scheduler.init();
}
void System::run() {
scheduler.enter();
}
}