mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Common: Remove File::GetFilename().
This commit is contained in:
1 parent
b74ecd5fa0
commit
a097403298
5 files changed
+4
-15
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user