Match CMemoryCardDriver::UpdateFileAltDeleteTransactional

Former-commit-id: bd4afb5aae
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-11 12:04:30 +03:00
parent 165cc200e4
commit ab500d3d22
1 changed files with 9 additions and 1 deletions

View File

@ -343,7 +343,15 @@ void CMemoryCardDriver::WriteBackupBuf() {
gpGameState->SetCardSerial(x28_cardSerial); gpGameState->SetCardSerial(x28_cardSerial);
} }
void CMemoryCardDriver::UpdateFileAltDeleteTransactional(ECardResult) {} void CMemoryCardDriver::UpdateFileAltDeleteTransactional(ECardResult result) {
if (result == kCR_READY) {
x10_state = kS_FileAltDeleteTransactionalDone;
if (GetCardFreeBytes())
StartFileRenameBtoA();
} else {
HandleCardError(result, kS_FileAltDeleteTransactionalFailed);
}
}
void CMemoryCardDriver::UpdateCardFormat(ECardResult) {} void CMemoryCardDriver::UpdateCardFormat(ECardResult) {}