kext: fix bug in rosalinaThreadLockPredicate (thanks @hax0kartik)

This commit is contained in:
TuxSH 2022-05-21 20:01:15 +01:00
parent ea8f9f4667
commit 4de0375bde

View File

@ -109,7 +109,7 @@ bool rosalinaThreadLockPredicate(KThread *thread, u32 mask)
if (mask & 2) if (mask & 2)
{ {
if (highTitleId != 0x00040130) // non-sysmodules if (highTitleId != 0x00040130) // non-sysmodules
false; return false;
return lowTitleId == 0x1C02; // gsp return lowTitleId == 0x1C02; // gsp
} }
if (mask & 4) if (mask & 4)