GB Core: Add dummied-out BIOS loader
Jeffrey Pfau jeffrey@endrift.com
Mon, 08 Feb 2016 20:46:23 -0800
1 files changed,
9 insertions(+),
0 deletions(-)
jump to
M
src/gb/core.c
→
src/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;