Match CMemoryCardDriver::StartFileWriteTransactional

This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-11 15:26:58 +03:00
parent 7ed13f92a3
commit 40409bedab
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 7 additions and 1 deletions

View File

@ -613,7 +613,13 @@ void CMemoryCardDriver::StartFileCreateTransactional() {
UpdateFileCreateTransactional(result); 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() {} void CMemoryCardDriver::StartFileDeleteAltTransactional() {}