Fix helper 2

This commit is contained in:
Ac_K 2019-09-10 06:35:52 +02:00
commit 02efe69711
3 changed files with 7 additions and 11 deletions

View file

@ -173,7 +173,7 @@ namespace Ryujinx.HLE.HOS.Services.Acc
/* /*
if (nn::arp::detail::IReader::GetApplicationLaunchProperty() == 0xCC9D) // InvalidProcessId if (nn::arp::detail::IReader::GetApplicationLaunchProperty() == 0xCC9D) // InvalidProcessId
{ {
_applicationLaunchProperty = ApplicationLaunchProperty.GetDefault(); _applicationLaunchProperty = ApplicationLaunchProperty.Default;
return ResultCode.InvalidArgument; return ResultCode.InvalidArgument;
} }

View file

@ -10,15 +10,12 @@ namespace Ryujinx.HLE.HOS.Services.Arp
public byte UpdateGameStorageId; public byte UpdateGameStorageId;
public short Padding; public short Padding;
public static ApplicationLaunchProperty GetDefault() public static readonly ApplicationLaunchProperty Default = new ApplicationLaunchProperty
{ {
return new ApplicationLaunchProperty TitleId = 0x00,
{ Version = 0x00,
TitleId = 0x00, BaseGameStorageId = (byte)StorageId.NandSystem,
Version = 0x00, UpdateGameStorageId = (byte)StorageId.None
BaseGameStorageId = (byte)StorageId.NandSystem, };
UpdateGameStorageId = (byte)StorageId.None
};
}
} }
} }

View file

@ -1,7 +1,6 @@
using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.Utilities; using Ryujinx.HLE.Utilities;
using System; using System;
using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Arp namespace Ryujinx.HLE.HOS.Services.Arp
{ {