mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
UI: Skip game bg lookup without game.
This avoids trying to identify a file without a name.
This commit is contained in:
1 parent
33db883024
commit
1fdf7c5373
6 files changed
+38
-36
No files matched your search
@@ -744,7 +744,7 @@ void GameInfoCache::WaitUntilDone(GameInfo *info) {
|
||||
|
||||
// Runs on the main thread.
|
||||
GameInfo *GameInfoCache::GetInfo(Draw::DrawContext *draw, const std::string &gamePath, int wantFlags) {
|
||||
GameInfo *info = 0;
|
||||
GameInfo *info = nullptr;
|
||||
|
||||
auto iter = info_.find(gamePath);
|
||||
if (iter != info_.end()) {
|
||||
|
||||
Reference in new issue
Block a user