mirror of https://github.com/PrimeDecomp/prime.git
parent
ab500d3d22
commit
6bb106c522
|
@ -353,7 +353,16 @@ void CMemoryCardDriver::UpdateFileAltDeleteTransactional(ECardResult result) {
|
|||
}
|
||||
}
|
||||
|
||||
void CMemoryCardDriver::UpdateCardFormat(ECardResult) {}
|
||||
void CMemoryCardDriver::UpdateCardFormat(ECardResult result) {
|
||||
if (result == kCR_READY)
|
||||
x10_state = kS_CardFormatted;
|
||||
else if (result == kCR_BROKEN) {
|
||||
x10_state = kS_CardFormatFailed;
|
||||
x14_error = kE_CardIOError;
|
||||
} else {
|
||||
HandleCardError(result, kS_CardFormatFailed);
|
||||
}
|
||||
}
|
||||
|
||||
void CMemoryCardDriver::StartCardProbe() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue