mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 03:54:19 +01:00
Core: Fix DarwinFlatFileReader FinishRead return
Looks like the return value is expected to be the number of bytes read
This commit is contained in:
1 parent
1e4795e653
commit
bd5656bf89
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user