Match CMemoryCardDriver::StartFileWriteTransactional

Former-commit-id: 40409bedab
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-11 15:26:58 +03:00
parent d3a4e72aa5
commit d8b79aa4c1
1 changed files with 7 additions and 1 deletions

View File

@ -613,7 +613,13 @@ void CMemoryCardDriver::StartFileCreateTransactional() {
UpdateFileCreateTransactional(result);
}
void CMemoryCardDriver::StartFileWriteTransactional() {}
void CMemoryCardDriver::StartFileWriteTransactional() {
x14_error = kE_OK;
x10_state = kS_FileWriteTransactional;
ECardResult result = x198_fileInfo->WriteFile();
if (result != kCR_READY)
UpdateFileWriteTransactional(result);
}
void CMemoryCardDriver::StartFileDeleteAltTransactional() {}