all repos — mgba @ 614857520f7877d258d2b14dad47f22daa1aa9ac

mGBA Game Boy Advance Emulator

DS: Return false if null save load attempted
Vicki Pfau vi@endrift.com
Wed, 22 Jul 2020 22:19:45 -0700
commit

614857520f7877d258d2b14dad47f22daa1aa9ac

parent

1d377450cbe7b11b06096d37e92c350464720382

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

jump to
M src/ds/ds.csrc/ds/ds.c

@@ -505,7 +505,7 @@ }

bool DSLoadSave(struct DS* ds, struct VFile* sav) { DSSlot1SPIInit(ds, sav); - return true; + return sav; } bool DSIsROM(struct VFile* vf) {