Match CMemoryCardDriver::StartFileRead

Former-commit-id: 50d7b3633f
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-11 14:56:25 +03:00
parent e163abed48
commit e9d1f43c65
1 changed files with 13 additions and 1 deletions

View File

@ -549,7 +549,19 @@ void CMemoryCardDriver::StartFileDeleteAlt() {
UpdateFileDeleteAlt(result);
}
void CMemoryCardDriver::StartFileRead() {}
void CMemoryCardDriver::StartFileRead() {
x14_error = kE_OK;
x10_state = kS_FileRead;
ECardResult result = x100_mcFileInfos[x194_fileIdx].second.Open();
if (result != kCR_READY) {
UpdateFileRead(result);
return;
}
result = x100_mcFileInfos[x194_fileIdx].second.StartRead();
if (result != kCR_READY)
UpdateFileRead(result);
}
void CMemoryCardDriver::StartFileCreate() {}