DiscIO: Fix recursive directory extraction
https://bugs.dolphin-emu.org/issues/12331
This commit is contained in:
1 parent
5abae61a8c
commit
b43f7c85cc
4 files changed
+13
-3
No files matched your search
@@ -96,6 +96,11 @@ u64 FileInfoGCWii::GetOffset() const
|
||||
return static_cast<u64>(Get(EntryProperty::FILE_OFFSET)) << m_offset_shift;
|
||||
}
|
||||
|
||||
bool FileInfoGCWii::IsRoot() const
|
||||
{
|
||||
return m_index == 0;
|
||||
}
|
||||
|
||||
bool FileInfoGCWii::IsDirectory() const
|
||||
{
|
||||
return (Get(EntryProperty::NAME_OFFSET) & 0xFF000000) != 0;
|
||||
|
||||
Reference in new issue
Block a user