mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-07-10 05:55:52 +00:00
Match CMemoryCardDriver::StartFileRead
Former-commit-id: 50d7b3633fb495a8d4ad9b8fb367ad43ddf7dc5c
This commit is contained in:
parent
e163abed48
commit
e9d1f43c65
@ -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() {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user