mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Use flags to specify wanted data in gamecache.
This commit is contained in:
1 parent
0416f0d918
commit
a0340debd6
6 files changed
+29
-28
No files matched your search
+2
-2
@@ -173,7 +173,7 @@ private:
|
||||
};
|
||||
|
||||
void GameButton::Draw(UIContext &dc) {
|
||||
GameInfo *ginfo = g_gameInfoCache.GetInfo(gamePath_, false);
|
||||
GameInfo *ginfo = g_gameInfoCache.GetInfo(gamePath_, 0);
|
||||
Texture *texture = 0;
|
||||
u32 color = 0, shadowColor = 0;
|
||||
|
||||
@@ -936,7 +936,7 @@ bool MainScreen::DrawBackgroundFor(UIContext &dc, const std::string &gamePath, f
|
||||
|
||||
GameInfo *ginfo = 0;
|
||||
if (!gamePath.empty()) {
|
||||
ginfo = g_gameInfoCache.GetInfo(gamePath, true);
|
||||
ginfo = g_gameInfoCache.GetInfo(gamePath, GAMEINFO_WANTBG);
|
||||
// Loading texture data may bind a texture.
|
||||
dc.RebindTexture();
|
||||
|
||||
|
||||
Reference in new issue
Block a user