mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Path code cleanup, move some UI code (#21037)
* Move a bunch of path logic into Core/Util/PathUtil.cpp/h . * Move GameImageView out from SaveDataScreen * More cleanup, add a translation string
This commit is contained in:
1 parent
3116eba395
commit
b8fced5b41
72 files changed
+416
-330
No files matched your search
@@ -402,13 +402,16 @@ void GameInfo::SetTitle(const std::string &newTitle) {
|
||||
}
|
||||
|
||||
void GameInfo::FinishPendingTextureLoads(Draw::DrawContext *draw) {
|
||||
if (draw && icon.dataLoaded && !icon.texture) {
|
||||
if (!draw) {
|
||||
return;
|
||||
}
|
||||
if (icon.dataLoaded && !icon.texture) {
|
||||
SetupTexture(draw, icon);
|
||||
}
|
||||
if (draw && pic0.dataLoaded && !pic0.texture) {
|
||||
if (pic0.dataLoaded && !pic0.texture) {
|
||||
SetupTexture(draw, pic0);
|
||||
}
|
||||
if (draw && pic1.dataLoaded && !pic1.texture) {
|
||||
if (pic1.dataLoaded && !pic1.texture) {
|
||||
SetupTexture(draw, pic1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user