From b19c4740823ed8fcebf62bf5741a7614a2ac0aa0 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 17 May 2018 15:25:42 -0300 Subject: Added more shader instructions, including BFE, BRA (partial), FMNMX, ISCADD, SHL, LD_C, some shader related fixes, added support for texture component selection --- Ryujinx.Core/OsHle/Kernel/SvcThread.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Ryujinx.Core/OsHle/Kernel') diff --git a/Ryujinx.Core/OsHle/Kernel/SvcThread.cs b/Ryujinx.Core/OsHle/Kernel/SvcThread.cs index b504f81a..8aa26dd3 100644 --- a/Ryujinx.Core/OsHle/Kernel/SvcThread.cs +++ b/Ryujinx.Core/OsHle/Kernel/SvcThread.cs @@ -141,6 +141,13 @@ namespace Ryujinx.Core.OsHle.Kernel private void SvcSetThreadCoreMask(AThreadState ThreadState) { + //FIXME: This is wrong, but the "correct" way to handle + //this svc causes deadlocks when more often. + //There is probably something wrong with it still. + ThreadState.X0 = 0; + + return; + int Handle = (int)ThreadState.X0; int IdealCore = (int)ThreadState.X1; long CoreMask = (long)ThreadState.X2; -- cgit v1.2.3