GBA: Small cleanup

This commit is contained in:
Jeffrey Pfau 2016-02-17 21:19:53 -08:00
parent a8beb9f5f3
commit 357008ff40
3 changed files with 5 additions and 5 deletions

View File

@ -154,7 +154,7 @@ static void _GBACoreSetAVStream(struct mCore* core, struct mAVStream* stream) {
}
static bool _GBACoreLoadROM(struct mCore* core, struct VFile* vf) {
return GBALoadROM2(core->board, vf);
return GBALoadROM(core->board, vf);
}
static bool _GBACoreLoadBIOS(struct mCore* core, struct VFile* vf, int type) {

View File

@ -416,7 +416,7 @@ void GBADetachDebugger(struct GBA* gba) {
gba->cpu->components[GBA_COMPONENT_DEBUGGER] = 0;
}
bool GBALoadMB(struct GBA* gba, struct VFile* vf, const char* fname) {
bool GBALoadMB(struct GBA* gba, struct VFile* vf) {
GBAUnloadROM(gba);
gba->romVf = vf;
gba->pristineRomSize = vf->size(vf);
@ -444,7 +444,7 @@ bool GBALoadMB(struct GBA* gba, struct VFile* vf, const char* fname) {
return true;
}
bool GBALoadROM2(struct GBA* gba, struct VFile* vf) {
bool GBALoadROM(struct GBA* gba, struct VFile* vf) {
GBAUnloadROM(gba);
gba->romVf = vf;
gba->pristineRomSize = vf->size(vf);

View File

@ -168,14 +168,14 @@ void GBASetBreakpoint(struct GBA* gba, struct mCPUComponent* component, uint32_t
uint32_t* opcode);
void GBAClearBreakpoint(struct GBA* gba, uint32_t address, enum ExecutionMode mode, uint32_t opcode);
bool GBALoadROM2(struct GBA* gba, struct VFile* vf);
bool GBALoadROM(struct GBA* gba, struct VFile* vf);
bool GBALoadSave(struct GBA* gba, struct VFile* sav);
void GBAYankROM(struct GBA* gba);
void GBAUnloadROM(struct GBA* gba);
void GBALoadBIOS(struct GBA* gba, struct VFile* vf);
void GBAApplyPatch(struct GBA* gba, struct Patch* patch);
bool GBALoadMB(struct GBA* gba, struct VFile* vf, const char* fname);
bool GBALoadMB(struct GBA* gba, struct VFile* vf);
bool GBAIsROM(struct VFile* vf);
bool GBAIsMB(struct VFile* vf);