Optimization: Removed additional delays for services that did not affect the solution of the problem

merge-requests/117/head
Vova 2025-08-26 09:45:00 +10:00 committed by GreemDev
parent 86179dbeaf
commit 0e57943d37
1 changed files with 1 additions and 2 deletions

View File

@ -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!");