Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
nishinji committed Dec 23, 2024
1 parent 0597b9c commit 42302fc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vita3k/gui/src/home_screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ static void sort_app_list(GuiState &gui, EmuEnvState &emuenv, const SortType &ty
return lhs.app_ver < rhs.app_ver;
case DESCENDANT:
return lhs.app_ver > rhs.app_ver;
case NOT_SORTED:
return false;
}
break;
case CATEGORY:
Expand All @@ -359,6 +361,8 @@ static void sort_app_list(GuiState &gui, EmuEnvState &emuenv, const SortType &ty
return lhs.category < rhs.category;
case DESCENDANT:
return lhs.category > rhs.category;
case NOT_SORTED:
return false;
}
break;
case COMPAT:
Expand All @@ -367,6 +371,8 @@ static void sort_app_list(GuiState &gui, EmuEnvState &emuenv, const SortType &ty
return lhs.compat < rhs.compat;
case DESCENDANT:
return lhs.compat > rhs.compat;
case NOT_SORTED:
return false;
}
break;
case LAST_TIME:
Expand All @@ -375,6 +381,8 @@ static void sort_app_list(GuiState &gui, EmuEnvState &emuenv, const SortType &ty
return lhs.last_time > rhs.last_time;
case DESCENDANT:
return lhs.last_time < rhs.last_time;
case NOT_SORTED:
return false;
}
break;
case TITLE:
Expand All @@ -383,6 +391,8 @@ static void sort_app_list(GuiState &gui, EmuEnvState &emuenv, const SortType &ty
return string_utils::toupper(lhs.title) < string_utils::toupper(rhs.title);
case DESCENDANT:
return string_utils::toupper(lhs.title) > string_utils::toupper(rhs.title);
case NOT_SORTED:
return false;
}
break;
case TITLE_ID:
Expand All @@ -391,6 +401,8 @@ static void sort_app_list(GuiState &gui, EmuEnvState &emuenv, const SortType &ty
return lhs.title_id < rhs.title_id;
case DESCENDANT:
return lhs.title_id > rhs.title_id;
case NOT_SORTED:
return false;
}
break;
}
Expand Down
6 changes: 6 additions & 0 deletions vita3k/gui/src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ void draw_settings(GuiState &gui, EmuEnvState &emuenv) {
ImGui::TextWrapped("%s", selected.c_str());
break;
}
case Popup::SELECT_SYS_LANG:
break;
}
}
break;
Expand Down Expand Up @@ -735,6 +737,10 @@ void draw_settings(GuiState &gui, EmuEnvState &emuenv) {
ImGui::Columns(1);
break;
}
case Menu::DATE_FORMAT:
case Menu::TIME_FORMAT:
case Menu::SELECT_INPUT_LANG:
break;
}
break;
}
Expand Down

0 comments on commit 42302fc

Please sign in to comment.