all repos — mgba @ e6e535e39af599989e44957a7f297ada148a9185

mGBA Game Boy Advance Emulator

3DS: Fix GB build
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Feb 2016 20:49:54 -0800
commit

e6e535e39af599989e44957a7f297ada148a9185

parent

c8342a88ffc6b19101dee8fd7ca6a44ba2ca94d8

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M src/gb/gb.csrc/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;