mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 15:05:46 -04:00
GameList: Reduce number of system calls when scanning
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user