mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Simplify file tree building for the filesystem view.
Technically this also simplifies on disc filename building in general.
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user