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
This commit is contained in:
Alex Barney 2019-06-06 17:01:44 -05:00 committed by Ac_K
parent 6fbe87cccc
commit 3541a9053f
4 changed files with 14 additions and 13 deletions

View file

@ -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())
{