Try fixing NvFlinger rotation with scaling, return correct error code on WaitSignal timeout, always display window at the center of the screen
This commit is contained in:
parent
3edb66f389
commit
344fc8a55d
6 changed files with 46 additions and 24 deletions
|
@ -53,7 +53,12 @@ namespace Ryujinx.Core.OsHle.Svc
|
|||
|
||||
Cv = Ns.Os.CondVars.GetOrAdd(CondVarAddress, Cv);
|
||||
|
||||
Cv.WaitForSignal(Thread);
|
||||
if (!Cv.WaitForSignal(Thread))
|
||||
{
|
||||
ThreadState.X0 = (int)SvcResult.ErrTimeout;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
M.WaitForLock(Thread, ThreadHandle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue