#pragma once

#define PEANUT_GB_HEADER_ONLY
#include "peanut_gb.h"

#define GBCOLOR_HEADER_ONLY
#include "gbcolors.h"

extern struct gb_s gb;
extern palette_t palette; // Colour palette
extern const uint8_t* rom;

#define RAM_SIZE 32768
extern uint8_t ram[RAM_SIZE];

void initGbContext();
