mirror of https://github.com/bsnes-emu/bsnes.git
21 lines
236 B
C++
21 lines
236 B
C++
|
#include <gameboy.hpp>
|
||
|
|
||
|
#define SYSTEM_CPP
|
||
|
namespace GameBoy {
|
||
|
|
||
|
System system;
|
||
|
|
||
|
void System::init(Interface *interface_) {
|
||
|
interface = interface_;
|
||
|
}
|
||
|
|
||
|
void System::power() {
|
||
|
cpu.power();
|
||
|
}
|
||
|
|
||
|
void System::reset() {
|
||
|
cpu.reset();
|
||
|
}
|
||
|
|
||
|
}
|