mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Don't crash if GameInfoCache is never inited.
This commit is contained in:
1 parent
3022a026a1
commit
9f96ea80b1
1 file changed
+2
-1
@@ -304,7 +304,8 @@ void GameInfoCache::Decimate() {
|
||||
}
|
||||
|
||||
void GameInfoCache::Clear() {
|
||||
gameInfoWQ_->Flush();
|
||||
if (gameInfoWQ_)
|
||||
gameInfoWQ_->Flush();
|
||||
for (auto iter = info_.begin(); iter != info_.end(); iter++) {
|
||||
lock_guard lock(iter->second->lock);
|
||||
if (!iter->second->pic0TextureData.empty()) {
|
||||
|
||||
Reference in new issue
Block a user