From 3541a9053f7728772e3face4221d2a23a67bfed9 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Thu, 6 Jun 2019 17:01:44 -0500 Subject: Update to LibHac 0.4.1 (#698) * Update to LibHac 0.4.1 Updates the IFile Read and Write methods to use any specified ReadOption and WriteOption * Move casts around --- Ryujinx.HLE/HOS/Horizon.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ryujinx.HLE/HOS/Horizon.cs') diff --git a/Ryujinx.HLE/HOS/Horizon.cs b/Ryujinx.HLE/HOS/Horizon.cs index 0b55ee0a..05b2b28f 100644 --- a/Ryujinx.HLE/HOS/Horizon.cs +++ b/Ryujinx.HLE/HOS/Horizon.cs @@ -260,7 +260,7 @@ namespace Ryujinx.HLE.HOS if (nca.Header.ContentType == ContentType.Program) { - int dataIndex = Nca.SectionIndexFromType(NcaSectionType.Data, ContentType.Program); + int dataIndex = Nca.GetSectionIndexFromType(NcaSectionType.Data, ContentType.Program); if (nca.Header.GetFsHeader(dataIndex).IsPatchSection()) { @@ -338,7 +338,7 @@ namespace Ryujinx.HLE.HOS if (nca.Header.ContentType == ContentType.Program) { - int dataIndex = Nca.SectionIndexFromType(NcaSectionType.Data, ContentType.Program); + int dataIndex = Nca.GetSectionIndexFromType(NcaSectionType.Data, ContentType.Program); if (nca.Header.GetFsHeader(dataIndex).IsPatchSection()) { -- cgit v1.2.3