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
|
@ -142,13 +142,9 @@ void FindFilename(u64 offset)
|
|||
return;
|
||||
}
|
||||
|
||||
const char *fname = pFileSystem->GetFileName(offset);
|
||||
const std::string filename = pFileSystem->GetFileName(offset);
|
||||
|
||||
// There's something wrong with the paths
|
||||
if (!fname || (strlen(fname) == 512))
|
||||
return;
|
||||
|
||||
CheckFile(fname, pFileSystem->GetFileSize(fname));
|
||||
CheckFile(filename, pFileSystem->GetFileSize(filename));
|
||||
}
|
||||
|
||||
void Close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue