Update Xci.HasPartition for the new path handling

This commit is contained in:
Alex Barney 2021-11-01 10:29:54 -07:00
parent e14a20b4fa
commit 770cd222f1

View file

@ -24,7 +24,7 @@ namespace LibHac
{ {
if (type == XciPartitionType.Root) return true; if (type == XciPartitionType.Root) return true;
return GetRootPartition().FileExists(type.GetFileName()); return GetRootPartition().FileExists("/" + type.GetFileName());
} }
public XciPartition OpenPartition(XciPartitionType type) public XciPartition OpenPartition(XciPartitionType type)