mirror of https://github.com/mgba-emu/mgba.git
DS: Return false if null save load attempted
This commit is contained in:
parent
1d377450cb
commit
614857520f
|
@ -505,7 +505,7 @@ bool DSLoadROM(struct DS* ds, struct VFile* vf) {
|
|||
|
||||
bool DSLoadSave(struct DS* ds, struct VFile* sav) {
|
||||
DSSlot1SPIInit(ds, sav);
|
||||
return true;
|
||||
return sav;
|
||||
}
|
||||
|
||||
bool DSIsROM(struct VFile* vf) {
|
||||
|
|
Loading…
Reference in New Issue