diff --git a/UI/GameInfoCache.cpp b/UI/GameInfoCache.cpp index 0823a2c8a4..4050b9c0f5 100644 --- a/UI/GameInfoCache.cpp +++ b/UI/GameInfoCache.cpp @@ -166,11 +166,14 @@ u64 GameInfo::GetInstallDataSizeInBytes() { } bool GameInfo::LoadFromPath(const std::string &gamePath) { - delete fileLoader; - fileLoader = ConstructFileLoader(gamePath); - filePath_ = gamePath; + // No need to rebuild if we already have it loaded. + if (filePath_ != gamePath) { + delete fileLoader; + fileLoader = ConstructFileLoader(gamePath); + filePath_ = gamePath; + } - return fileLoader->Exists(); + return GetFileLoader()->Exists(); } FileLoader *GameInfo::GetFileLoader() {