mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
DiscIO: Fix recursive directory extraction
https://bugs.dolphin-emu.org/issues/12331
This commit is contained in:
parent
5abae61a8c
commit
b43f7c85cc
4 changed files with 13 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue