mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-01-13 10:12:22 +00:00
Fixed save deletion using the wrong file number
This commit is contained in:
parent
300af8c8c4
commit
db41873d69
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ void Sram_EraseSave(FileSelectState* fileSelect2, SramContext* sramCtx, s32 file
|
|||
if (gSaveContext.flashSaveAvailable) {
|
||||
if (fileSelect->isOwlSave[fileNum + 2]) {
|
||||
// @recomp Call the new owl save deletion function.
|
||||
delete_owl_save(sramCtx, gSaveContext.fileNum);
|
||||
delete_owl_save(sramCtx, fileNum);
|
||||
fileSelect->isOwlSave[fileNum + 2] = false;
|
||||
}
|
||||
bzero(sramCtx->saveBuf, SAVE_BUFFER_SIZE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue