mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Improve display of http links in recents list
This commit is contained in:
1 parent
821c005de7
commit
b2d0b8e3cc
2 files changed
+14
-2
No files matched your search
@@ -1098,7 +1098,8 @@ VKContext::VKContext(VulkanContext *vulkan, bool useRenderThread)
|
||||
WARN_LOG(Log::G3D, "KHR_create_renderpass2 not supported, disabling multisampling");
|
||||
multisampleAllowed = false;
|
||||
} else {
|
||||
_dbg_assert_(vkCreateRenderPass2 != nullptr);
|
||||
// This is hit using a replacement adreno driver, "EggNS mesa skyport".
|
||||
// _dbg_assert_(vkCreateRenderPass2 != nullptr);
|
||||
}
|
||||
|
||||
// We limit multisampling functionality to reasonably recent and known-good tiling GPUs.
|
||||
|
||||
+12
-1
@@ -243,7 +243,18 @@ void GameButton::Draw(UIContext &dc) {
|
||||
texture = ginfo->icon.texture;
|
||||
} else if (drawBackground) {
|
||||
// No icon, but drawBackground is set. Let's show a plain icon depending on type.
|
||||
imageIcon = (ginfo->fileType == IdentifiedFileType::PSP_ISO || ginfo->fileType == IdentifiedFileType::PSP_ISO_NP) ? ImageID("I_UMD") : ImageID("I_APP");
|
||||
if (ginfo->fileType == IdentifiedFileType::PSP_ISO || ginfo->fileType == IdentifiedFileType::PSP_ISO_NP) {
|
||||
imageIcon = ImageID("I_UMD");
|
||||
} else if (gamePath_.Type() == PathType::HTTP) {
|
||||
imageIcon = ginfo->fileType == IdentifiedFileType::UNKNOWN ? ImageID("I_LINK_OUT_QUESTION") : ImageID("I_LINK_OUT");
|
||||
} else {
|
||||
imageIcon = ImageID("I_APP");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Make sure that pending HTTP icons show something, instead of just blank.
|
||||
if (gamePath_.Type() == PathType::HTTP) {
|
||||
imageIcon = ImageID("I_LINK_OUT_QUESTION");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user