all repos — mgba @ 73b58ec7c43f70f899147bbc1ef83e0ea2a4f0a6

mGBA Game Boy Advance Emulator

GB Core: Add dummied-out BIOS loader
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Feb 2016 20:46:23 -0800
commit

73b58ec7c43f70f899147bbc1ef83e0ea2a4f0a6

parent

98266d1b83a24376415f907cea2d24d0531f6166

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

jump to
M src/gb/core.csrc/gb/core.c

@@ -104,6 +104,14 @@ static bool _GBCoreLoadROM(struct mCore* core, struct VFile* vf) {

return GBLoadROM(core->board, vf); } +static bool _GBCoreLoadBIOS(struct mCore* core, struct VFile* vf, int type) { + UNUSED(core); + UNUSED(vf); + UNUSED(type); + // TODO + return false; +} + static bool _GBCoreLoadSave(struct mCore* core, struct VFile* vf) { return GBLoadSave(core->board, vf); }

@@ -220,6 +228,7 @@ core->getAudioChannel = _GBCoreGetAudioChannel;

core->setAVStream = _GBCoreSetAVStream; core->isROM = GBIsROM; core->loadROM = _GBCoreLoadROM; + core->loadBIOS = _GBCoreLoadBIOS; core->loadSave = _GBCoreLoadSave; core->loadPatch = _GBCoreLoadPatch; core->unloadROM = _GBCoreUnloadROM;