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 authored and refractionpcsx2 committed 2022-05-30 09:46:53 +01:00
1 parent 1e4795e653
commit bd5656bf89
1 file changed
+1 -1
+1 -1
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)