mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
dont wake up thread with waitType WAITTYPE_MODULE in sceKernelReleaseWaitThread
add UTF-8 BOM to MiscScreens.cpp to avoid compile error.
This commit is contained in:
parent
94ef18025f
commit
a4e447fe7e
2 changed files with 6 additions and 1 deletions
|
@ -2605,6 +2605,11 @@ int sceKernelReleaseWaitThread(SceUID threadID)
|
|||
WARN_LOG_REPORT(HLE, "sceKernelReleaseWaitThread(): Refusing to wake HLE-delayed thread, right thing to do?");
|
||||
return SCE_KERNEL_ERROR_NOT_WAIT;
|
||||
}
|
||||
if (t->nt.waitType == WAITTYPE_MODULE)
|
||||
{
|
||||
WARN_LOG_REPORT(HLE, "sceKernelReleaseWaitThread(): Refusing to wake start_module thread, right thing to do?");
|
||||
return SCE_KERNEL_ERROR_NOT_WAIT;
|
||||
}
|
||||
|
||||
__KernelResumeThreadFromWait(threadID, SCE_KERNEL_ERROR_RELEASE_WAIT);
|
||||
hleReSchedule("thread released from wait");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) 2013- PPSSPP Project.
|
||||
// Copyright (c) 2013- PPSSPP Project.
|
||||
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
|
|
Loading…
Add table
Reference in a new issue