add nuget package which contains gtk dependencies

This commit is contained in:
Xpl0itR 2019-06-22 13:43:41 +01:00
parent 9435231878
commit da3d3f040e
No known key found for this signature in database
GPG key ID: 91798184109676AD
2 changed files with 4 additions and 3 deletions

View file

@ -77,7 +77,7 @@ namespace Ryujinx
else if (Path.GetExtension(GamePath) == ".xci")
{
Xci xci = new Xci(MainMenu.device.System.KeySet, file.AsStorage());
PFS = xci.OpenPartition(XciPartitionType.Secure);
PFS = xci.OpenPartition(XciPartitionType.Secure);
}
if (PFS != null)
@ -108,7 +108,7 @@ namespace Ryujinx
else
{
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;
if (string.IsNullOrWhiteSpace(TitleName))
@ -161,7 +161,7 @@ namespace Ryujinx
byte[] IconSectionInfo = Read(AssetOffset + 8, 0x10);
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);

View file

@ -38,6 +38,7 @@
<ItemGroup>
<PackageReference Include="DiscordRichPresence" Version="1.0.108" />
<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="OpenTK.NetStandard" Version="1.0.4" />
</ItemGroup>