mirror of https://github.com/PCSX2/pcsx2.git
Core: Fix DarwinFlatFileReader FinishRead return
Looks like the return value is expected to be the number of bytes read
This commit is contained in:
parent
1e4795e653
commit
bd5656bf89
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue