mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Simplify file tree building for the filesystem view.
Technically this also simplifies on disc filename building in general.
This commit is contained in:
parent
f325fc9634
commit
bd1ce18f90
9 changed files with 78 additions and 98 deletions
|
@ -317,7 +317,7 @@ bool ParsePartitionData(SPartition& _rPartition)
|
|||
// Go through the filesystem and mark entries as used
|
||||
for (size_t currentFile = 0; currentFile < numFiles; currentFile++)
|
||||
{
|
||||
DEBUG_LOG(DISCIO, "%s", currentFile ? (*Files.at(currentFile)).m_FullPath : "/");
|
||||
DEBUG_LOG(DISCIO, "%s", currentFile ? (*Files.at(currentFile)).m_FullPath.c_str() : "/");
|
||||
// Just 1byte for directory? - it will end up reserving a cluster this way
|
||||
if ((*Files.at(currentFile)).m_NameOffset & 0x1000000)
|
||||
MarkAsUsedE(_rPartition.Offset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue