Core: Fix DarwinFlatFileReader FinishRead return

Looks like the return value is expected to be the number of bytes read
This commit is contained in:
TellowKrinkle 2022-05-29 19:32:05 -05:00 committed by refractionpcsx2
parent 1e4795e653
commit bd5656bf89
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ int FlatFileReader::FinishRead(void)
while (aio_suspend(aiocb_list, 1, nullptr) == -1 && errno == EINTR)
;
return aio_return(&m_aiocb) == -1 ? -1 : 1;
return aio_return(&m_aiocb);
}
void FlatFileReader::CancelRead(void)