mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02: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:
@@ -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