mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DiscIO: Fix recursive directory extraction
https://bugs.dolphin-emu.org/issues/12331
This commit is contained in:
@ -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