mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Fix copy-paste fail..
This commit is contained in:
1 parent
e5955782c6
commit
63d8267bd4
1 file changed
+4
-4
@@ -252,8 +252,8 @@ GameInfo *GameInfoCache::GetInfo(const std::string &gamePath, bool wantBG) {
|
||||
if (info->pic0Texture->LoadPNG((const u8 *)info->pic0TextureData.data(), info->pic0TextureData.size(), false)) {
|
||||
info->timePic0WasLoaded = time_now_d();
|
||||
} else {
|
||||
delete info->iconTexture;
|
||||
info->iconTexture = 0;
|
||||
delete info->pic0Texture;
|
||||
info->pic0Texture = 0;
|
||||
}
|
||||
info->pic0TextureData.clear();
|
||||
}
|
||||
@@ -265,8 +265,8 @@ GameInfo *GameInfoCache::GetInfo(const std::string &gamePath, bool wantBG) {
|
||||
if (info->pic1Texture->LoadPNG((const u8 *)info->pic1TextureData.data(), info->pic1TextureData.size(), false)) {
|
||||
info->timePic1WasLoaded = time_now_d();
|
||||
} else {
|
||||
delete info->iconTexture;
|
||||
info->iconTexture = 0;
|
||||
delete info->pic1Texture;
|
||||
info->pic1Texture = 0;
|
||||
}
|
||||
info->pic1TextureData.clear();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user