GB Core: Add dummied-out BIOS loader

This commit is contained in:
Jeffrey Pfau 2016-02-08 20:46:23 -08:00
parent 98266d1b83
commit 73b58ec7c4
1 changed files with 9 additions and 0 deletions

View File

@ -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 @@ struct mCore* GBCoreCreate(void) {
core->setAVStream = _GBCoreSetAVStream;
core->isROM = GBIsROM;
core->loadROM = _GBCoreLoadROM;
core->loadBIOS = _GBCoreLoadBIOS;
core->loadSave = _GBCoreLoadSave;
core->loadPatch = _GBCoreLoadPatch;
core->unloadROM = _GBCoreUnloadROM;