mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Fix some bugs and warnings from a pass of static analysis
This commit is contained in:
1 parent
722178e205
commit
d6ebfed432
25 files changed
+72
-49
No files matched your search
+2
-1
@@ -287,7 +287,7 @@ void GameButton::Draw(UIContext &dc) {
|
||||
switch (ginfo->fileType) {
|
||||
case IdentifiedFileType::UNKNOWN_ELF: imageIcon = ImageID("I_DEBUGGER"); break;
|
||||
case IdentifiedFileType::PPSSPP_GE_DUMP: imageIcon = ImageID("I_DISPLAY"); break;
|
||||
case IdentifiedFileType::PSX_ISO: imageIcon = ImageID("I_PSX_ISO"); break;
|
||||
case IdentifiedFileType::PSX_ISO:
|
||||
case IdentifiedFileType::PSP_PS1_PBP: imageIcon = ImageID("I_PSX_ISO"); break;
|
||||
case IdentifiedFileType::PS2_ISO: imageIcon = ImageID("I_PS2_ISO"); break;
|
||||
case IdentifiedFileType::PS3_ISO: imageIcon = ImageID("I_PS3_ISO"); break;
|
||||
@@ -296,6 +296,7 @@ void GameButton::Draw(UIContext &dc) {
|
||||
case IdentifiedFileType::PPSSPP_SAVESTATE:
|
||||
case IdentifiedFileType::ERROR_IDENTIFYING:
|
||||
case IdentifiedFileType::UNKNOWN_BIN: imageIcon = ImageID("I_FILE"); break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
if (imageIcon.isValid()) {
|
||||
|
||||
Reference in new issue
Block a user