add nuget package which contains gtk dependencies
This commit is contained in:
parent
9435231878
commit
da3d3f040e
2 changed files with 4 additions and 3 deletions
|
@ -77,7 +77,7 @@ namespace Ryujinx
|
||||||
else if (Path.GetExtension(GamePath) == ".xci")
|
else if (Path.GetExtension(GamePath) == ".xci")
|
||||||
{
|
{
|
||||||
Xci xci = new Xci(MainMenu.device.System.KeySet, file.AsStorage());
|
Xci xci = new Xci(MainMenu.device.System.KeySet, file.AsStorage());
|
||||||
PFS = xci.OpenPartition(XciPartitionType.Secure);
|
PFS = xci.OpenPartition(XciPartitionType.Secure);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PFS != null)
|
if (PFS != null)
|
||||||
|
@ -108,7 +108,7 @@ namespace Ryujinx
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
IFile controlFile = ControlFs.OpenFile("/control.nacp", OpenMode.Read);
|
IFile controlFile = ControlFs.OpenFile("/control.nacp", OpenMode.Read);
|
||||||
Nacp ControlData = new Nacp(controlFile.AsStream());
|
Nacp ControlData = new Nacp(controlFile.AsStream());
|
||||||
|
|
||||||
TitleName = ControlData.Descriptions[(int)MainMenu.device.System.State.DesiredTitleLanguage].Title;
|
TitleName = ControlData.Descriptions[(int)MainMenu.device.System.State.DesiredTitleLanguage].Title;
|
||||||
if (string.IsNullOrWhiteSpace(TitleName))
|
if (string.IsNullOrWhiteSpace(TitleName))
|
||||||
|
@ -161,7 +161,7 @@ namespace Ryujinx
|
||||||
byte[] IconSectionInfo = Read(AssetOffset + 8, 0x10);
|
byte[] IconSectionInfo = Read(AssetOffset + 8, 0x10);
|
||||||
|
|
||||||
long IconOffset = BitConverter.ToInt64(IconSectionInfo, 0);
|
long IconOffset = BitConverter.ToInt64(IconSectionInfo, 0);
|
||||||
long IconSize = BitConverter.ToInt64(IconSectionInfo, 8);
|
long IconSize = BitConverter.ToInt64(IconSectionInfo, 8);
|
||||||
|
|
||||||
byte[] IconData = Read(AssetOffset + IconOffset, (int)IconSize);
|
byte[] IconData = Read(AssetOffset + IconOffset, (int)IconSize);
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="DiscordRichPresence" Version="1.0.108" />
|
<PackageReference Include="DiscordRichPresence" Version="1.0.108" />
|
||||||
<PackageReference Include="GtkSharp" Version="3.22.24.37" />
|
<PackageReference Include="GtkSharp" Version="3.22.24.37" />
|
||||||
|
<PackageReference Include="GtkSharp.Dependencies" Version="1.0.0" />
|
||||||
<PackageReference Include="JsonPrettyPrinter" Version="1.0.1.1" />
|
<PackageReference Include="JsonPrettyPrinter" Version="1.0.1.1" />
|
||||||
<PackageReference Include="OpenTK.NetStandard" Version="1.0.4" />
|
<PackageReference Include="OpenTK.NetStandard" Version="1.0.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue