diff --git a/src/gb/gb.c b/src/gb/gb.c index 1d1d8f9d1..d3b309322 100644 --- a/src/gb/gb.c +++ b/src/gb/gb.c @@ -28,6 +28,11 @@ static void GBSetInterrupts(struct LR35902Core* cpu, bool enable); static void GBIllegal(struct LR35902Core* cpu); static void GBHitStub(struct LR35902Core* cpu); +#ifdef _3DS +extern uint32_t* romBuffer; +extern size_t romBufferSize; +#endif + void GBCreate(struct GB* gb) { gb->d.id = GB_COMPONENT_MAGIC; gb->d.init = GBInit;