mirror of https://github.com/PrimeDecomp/prime.git
Match CMemoryCardDriver::UpdateFileAltDeleteTransactional
Former-commit-id: bd4afb5aae
This commit is contained in:
parent
165cc200e4
commit
ab500d3d22
|
@ -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) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue