mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-22 22:06:58 +00:00
Workaround for #8020
This commit is contained in:
parent
682472c5b5
commit
50d66f9a19
@ -190,6 +190,11 @@ public:
|
|||||||
|
|
||||||
PrioritizedWorkQueue *WorkQueue() { return gameInfoWQ_; }
|
PrioritizedWorkQueue *WorkQueue() { return gameInfoWQ_; }
|
||||||
|
|
||||||
|
void WaitUntilDone(GameInfo *info) {
|
||||||
|
// Hack - should really wait specifically for that item.
|
||||||
|
gameInfoWQ_->WaitUntilDone();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SetupTexture(GameInfo *info, std::string &textureData, Thin3DContext *thin3d, Thin3DTexture *&tex, double &loadTime);
|
void SetupTexture(GameInfo *info, std::string &textureData, Thin3DContext *thin3d, Thin3DTexture *&tex, double &loadTime);
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ GameScreen::~GameScreen() {
|
|||||||
|
|
||||||
void GameScreen::CreateViews() {
|
void GameScreen::CreateViews() {
|
||||||
GameInfo *info = g_gameInfoCache.GetInfo(NULL, gamePath_, GAMEINFO_WANTBG | GAMEINFO_WANTSIZE);
|
GameInfo *info = g_gameInfoCache.GetInfo(NULL, gamePath_, GAMEINFO_WANTBG | GAMEINFO_WANTSIZE);
|
||||||
|
g_gameInfoCache.WaitUntilDone(info);
|
||||||
|
|
||||||
I18NCategory *di = GetI18NCategory("Dialog");
|
I18NCategory *di = GetI18NCategory("Dialog");
|
||||||
I18NCategory *ga = GetI18NCategory("Game");
|
I18NCategory *ga = GetI18NCategory("Game");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user