Skip to content

Commit

Permalink
Make bootROM optional as well
Browse files Browse the repository at this point in the history
Default is to include it.
  • Loading branch information
Ryuzaki-MrL committed Aug 19, 2019
1 parent a41bc6f commit a86cb49
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion espeon.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,23 @@
#include "lcd.h"
#include "espeon.h"
#include "menu.h"
#include "gbbios.h"

/* Uncomment this to include a fallback ROM */
// #define USE_INTERNAL_ROM
#define USE_INTERNAL_BIOS

#ifdef USE_INTERNAL_ROM
#include "gbrom.h"
#else
const unsigned char* gb_rom = nullptr;
#endif

#ifdef USE_INTERNAL_BIOS
#include "gbbios.h"
#else
const uint8_t* gb_bios = nullptr;
#endif

void setup()
{
espeon_init();
Expand Down

0 comments on commit a86cb49

Please sign in to comment.