mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix GB build
This commit is contained in:
parent
c8342a88ff
commit
e6e535e39a
|
@ -28,6 +28,11 @@ static void GBSetInterrupts(struct LR35902Core* cpu, bool enable);
|
||||||
static void GBIllegal(struct LR35902Core* cpu);
|
static void GBIllegal(struct LR35902Core* cpu);
|
||||||
static void GBHitStub(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) {
|
void GBCreate(struct GB* gb) {
|
||||||
gb->d.id = GB_COMPONENT_MAGIC;
|
gb->d.id = GB_COMPONENT_MAGIC;
|
||||||
gb->d.init = GBInit;
|
gb->d.init = GBInit;
|
||||||
|
|
Loading…
Reference in New Issue