mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Revert the early wake of threads for io waits.
This reverts commit 610ada8721
.
It makes sense to let these run longer. Apparently this caused problems
in Castlevania, see #6432.
This commit is contained in:
parent
d2d7d6e34b
commit
ac2c44ddd9
1 changed files with 1 additions and 4 deletions
|
@ -324,7 +324,6 @@ void __IoAsyncNotify(u64 userdata, int cyclesLate) {
|
|||
u32 address = __KernelGetWaitValue(threadID, error);
|
||||
if (HLEKernel::VerifyWait(threadID, WAITTYPE_ASYNCIO, f->GetUID())) {
|
||||
HLEKernel::ResumeFromWait(threadID, WAITTYPE_ASYNCIO, f->GetUID(), 0);
|
||||
__KernelReSchedule("async io completed");
|
||||
// Someone woke up, so it's no longer got one.
|
||||
f->hasAsyncResult = false;
|
||||
|
||||
|
@ -361,9 +360,7 @@ void __IoSyncNotify(u64 userdata, int cyclesLate) {
|
|||
ERROR_LOG(SCEIO, "Unable to complete IO operation on %s", f->GetName());
|
||||
}
|
||||
|
||||
if (HLEKernel::ResumeFromWait(threadID, WAITTYPE_IO, fd, result)) {
|
||||
__KernelReSchedule("io completed");
|
||||
}
|
||||
HLEKernel::ResumeFromWait(threadID, WAITTYPE_IO, fd, result);
|
||||
}
|
||||
|
||||
void __IoAsyncBeginCallback(SceUID threadID, SceUID prevCallbackId) {
|
||||
|
|
Loading…
Add table
Reference in a new issue