Common: Remove File::GetFilename().

This commit is contained in:
Unknown W. Brackets committed 2021-05-14 23:08:31 -07:00
1 parent b74ecd5fa0
commit a097403298
5 files changed
+4 -15

No files matched your search

+1 -1
View File
@@ -206,7 +206,7 @@ bool DiscIDFromGEDumpPath(const Path &path, FileLoader *fileLoader, std::string
}
// Fall back to using the filename.
std::string filename = File::GetFilename(path.ToString());
std::string filename = path.GetFilename();
// Could be more discerning, but hey..
if (filename.size() > 10 && filename[0] == 'U' && filename[9] == '_') {
*id = filename.substr(0, 9);