Fix helper 2

This commit is contained in:
Ac_K 2019-09-10 06:35:52 +02:00
parent 50226692bd
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
{
_applicationLaunchProperty = ApplicationLaunchProperty.GetDefault();
_applicationLaunchProperty = ApplicationLaunchProperty.Default;
return ResultCode.InvalidArgument;
}

View file

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

View file

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