LibHac update
This commit is contained in:
parent
60af09611e
commit
516802f5b5
3 changed files with 10 additions and 4 deletions
|
@ -374,7 +374,7 @@ namespace Ryujinx.HLE.HOS
|
||||||
if (result.IsSuccess() && bytesRead == ControlData.ByteSpan.Length)
|
if (result.IsSuccess() && bytesRead == ControlData.ByteSpan.Length)
|
||||||
{
|
{
|
||||||
TitleName = CurrentTitle = ControlData.Value
|
TitleName = CurrentTitle = ControlData.Value
|
||||||
.GetTitles()[(int) State.DesiredTitleLanguage].Name.ToString();
|
.Titles[(int) State.DesiredTitleLanguage].Name.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -629,11 +629,11 @@ namespace Ryujinx.HLE.HOS
|
||||||
|
|
||||||
ref ApplicationControlProperty nacp = ref ControlData.Value;
|
ref ApplicationControlProperty nacp = ref ControlData.Value;
|
||||||
|
|
||||||
metaData.TitleName = nacp.GetTitles()[(int)State.DesiredTitleLanguage].Name.ToString();
|
metaData.TitleName = nacp.Titles[(int)State.DesiredTitleLanguage].Name.ToString();
|
||||||
|
|
||||||
if (string.IsNullOrWhiteSpace(metaData.TitleName))
|
if (string.IsNullOrWhiteSpace(metaData.TitleName))
|
||||||
{
|
{
|
||||||
metaData.TitleName = nacp.GetTitles().ToArray().FirstOrDefault(x => x.Name[0] != 0).ToString();
|
metaData.TitleName = nacp.Titles.ToArray().FirstOrDefault(x => x.Name[0] != 0).ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
metaData.Aci0.TitleId = nacp.PresenceGroupId;
|
metaData.Aci0.TitleId = nacp.PresenceGroupId;
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Concentus" Version="1.1.7" />
|
<PackageReference Include="Concentus" Version="1.1.7" />
|
||||||
<PackageReference Include="LibHac" Version="0.7.0--save-tweaks.22" />
|
<PackageReference Include="LibHac" Version="0.7.0--save-tweaks.23" />
|
||||||
<PackageReference Include="TimeZoneConverter.Posix" Version="2.1.0" />
|
<PackageReference Include="TimeZoneConverter.Posix" Version="2.1.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
6
nuget.config
Normal file
6
nuget.config
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<add key="libhac" value="https://www.myget.org/F/libhac/api/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
Loading…
Add table
Add a link
Reference in a new issue