Fix missing Pause Screen BG if the game is exited once and then replayed.

This commit is contained in:
aquanull 2013-06-05 00:37:39 +08:00
parent 3b07090682
commit 2a6b35f3ad
2 changed files with 2 additions and 1 deletions

View File

@ -286,6 +286,7 @@ void GameInfoCache::FlushBGs() {
delete iter->second->pic1Texture;
iter->second->pic1Texture = 0;
}
iter->second->wantBG = false;
}
}

View File

@ -33,7 +33,7 @@
class GameInfo {
public:
GameInfo() : fileType(FILETYPE_UNKNOWN), iconTexture(NULL), pic0Texture(NULL), pic1Texture(NULL) {}
GameInfo() : fileType(FILETYPE_UNKNOWN), iconTexture(NULL), pic0Texture(NULL), pic1Texture(NULL), wantBG(false) {}
bool DeleteGame(); // Better be sure what you're doing when calling this.
bool DeleteAllSaveData();