mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 15:30:29 +02:00
Just some renaming. Start moving away from the "thin3d" name
This commit is contained in:
1 parent
1044796de2
commit
20d9e60a67
34 files changed
+128
-133
No files matched your search
@@ -731,7 +731,7 @@ void GameInfoCache::WaitUntilDone(GameInfo *info) {
|
||||
|
||||
|
||||
// Runs on the main thread.
|
||||
GameInfo *GameInfoCache::GetInfo(Draw::DrawContext *thin3d, const std::string &gamePath, int wantFlags) {
|
||||
GameInfo *GameInfoCache::GetInfo(Draw::DrawContext *draw, const std::string &gamePath, int wantFlags) {
|
||||
GameInfo *info = 0;
|
||||
|
||||
auto iter = info_.find(gamePath);
|
||||
@@ -741,16 +741,16 @@ GameInfo *GameInfoCache::GetInfo(Draw::DrawContext *thin3d, const std::string &g
|
||||
// Need to start over. We'll just add a new work item.
|
||||
goto again;
|
||||
}
|
||||
if (thin3d && info->iconDataLoaded) {
|
||||
SetupTexture(info, info->iconTextureData, thin3d, info->iconTexture, info->timeIconWasLoaded);
|
||||
if (draw && info->iconDataLoaded) {
|
||||
SetupTexture(info, info->iconTextureData, draw, info->iconTexture, info->timeIconWasLoaded);
|
||||
info->iconDataLoaded = false;
|
||||
}
|
||||
if (thin3d && info->pic0DataLoaded) {
|
||||
SetupTexture(info, info->pic0TextureData, thin3d, info->pic0Texture, info->timePic0WasLoaded);
|
||||
if (draw && info->pic0DataLoaded) {
|
||||
SetupTexture(info, info->pic0TextureData, draw, info->pic0Texture, info->timePic0WasLoaded);
|
||||
info->pic0DataLoaded = false;
|
||||
}
|
||||
if (thin3d && info->pic1DataLoaded) {
|
||||
SetupTexture(info, info->pic1TextureData, thin3d, info->pic1Texture, info->timePic1WasLoaded);
|
||||
if (draw && info->pic1DataLoaded) {
|
||||
SetupTexture(info, info->pic1TextureData, draw, info->pic1Texture, info->timePic1WasLoaded);
|
||||
info->pic1DataLoaded = false;
|
||||
}
|
||||
iter->second->lastAccessedTime = time_now_d();
|
||||
|
||||
Reference in new issue
Block a user