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:
parent
6fbe87cccc
commit
3541a9053f
4 changed files with 14 additions and 13 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue