mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Allow two threads to read from a file at once.
It just happens in order, rather than failing with an error (async busy.) Async operations still fail when used in this way, however.
This commit is contained in:
parent
07a2e57932
commit
2a4cbb7171
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ void __IoSchedSync(FileNode *f, int fd, int usec) {
|
|||
u64 param = ((u64)__KernelGetCurThread()) << 32 | fd;
|
||||
CoreTiming::ScheduleEvent(usToCycles(usec), syncNotifyEvent, param);
|
||||
|
||||
f->pendingAsyncResult = true;
|
||||
f->pendingAsyncResult = false;
|
||||
f->hasAsyncResult = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue