mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Fix waiting tlspl result, address not block num.
This commit is contained in:
1 parent
76dfbc7436
commit
be1e7cfb37
1 file changed
+1
-1
@@ -1957,7 +1957,7 @@ int __KernelFreeTls(TLSPL *tls, SceUID threadID)
|
||||
// Otherwise, if there was a thread waiting, we were full, so this newly freed one is theirs.
|
||||
// TODO: Is the block wiped or anything?
|
||||
tls->usage[freeBlock] = waitingThreadID;
|
||||
__KernelResumeThreadFromWait(waitingThreadID, freeBlock);
|
||||
__KernelResumeThreadFromWait(waitingThreadID, freedAddress);
|
||||
|
||||
// Gotta watch the thread to quit as well, since they've allocated now.
|
||||
tlsplThreadEndChecks.insert(std::make_pair(waitingThreadID, uid));
|
||||
|
||||
Reference in new issue
Block a user