Optimization: Removed additional delays for services that did not affect the solution of the problem
parent
86179dbeaf
commit
0e57943d37
|
|
@ -259,8 +259,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
|
||||||
// Fix emulator crash before splash screen for
|
// Fix emulator crash before splash screen for
|
||||||
// TMNT Shredder's Revenges
|
// TMNT Shredder's Revenges
|
||||||
|
|
||||||
if ((ioctlCommand.Type == NvIoctl.NvMapCustomMagic && (ioctlCommand.Number == 0x05 || ioctlCommand.Number == 0x09)) ||
|
if ((ioctlCommand.Type == NvIoctl.NvGpuAsMagic && (ioctlCommand.Number == 0x05 || ioctlCommand.Number == 0x06)))
|
||||||
(ioctlCommand.Type == NvIoctl.NvGpuAsMagic && (ioctlCommand.Number == 0x05 || ioctlCommand.Number == 0x06)))
|
|
||||||
{
|
{
|
||||||
System.Threading.Thread.Sleep(50);
|
System.Threading.Thread.Sleep(50);
|
||||||
Logger.Notice.Print(LogClass.ServiceNv, $"Type_{ioctlCommand.Type}, Command_{ioctlCommand.Number} Delay!");
|
Logger.Notice.Print(LogClass.ServiceNv, $"Type_{ioctlCommand.Type}, Command_{ioctlCommand.Number} Delay!");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue