GameList: Reduce number of system calls when scanning

This commit is contained in:
Connor McLaughlin
2021-04-17 19:13:58 +10:00
parent e1578be20f
commit 03f3f0369c
5 changed files with 64 additions and 76 deletions

View File

@ -2870,7 +2870,7 @@ void CommonHostInterface::GetGameInfo(const char* path, CDImage* image, std::str
}
else
{
*title = System::GetTitleForPath(path);
*title = FileSystem::GetFileTitleFromPath(path);
if (image)
*code = System::GetGameCodeForImage(image, true);
}