bsnes/gameboy/cpu/cpu.hpp

21 lines
301 B
C++
Raw Normal View History

struct CPU : Processor, MMIO {
#include "core/core.hpp"
#include "mmio/mmio.hpp"
#include "timing/timing.hpp"
struct Status {
bool ime;
} status;
uint8 wram[8192];
uint8 hram[128];
static void Main();
void main();
void power();
void reset();
CPU();
};
extern CPU cpu;