From 42302fcd2cd837fdf0ebf6bbaa56e25a838f8382 Mon Sep 17 00:00:00 2001 From: nishinji <107111782+nishinji@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:33:22 +0900 Subject: [PATCH] a --- vita3k/gui/src/home_screen.cpp | 12 ++++++++++++ vita3k/gui/src/settings.cpp | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/vita3k/gui/src/home_screen.cpp b/vita3k/gui/src/home_screen.cpp index 57a727906b..1a82885d3c 100644 --- a/vita3k/gui/src/home_screen.cpp +++ b/vita3k/gui/src/home_screen.cpp @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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; } diff --git a/vita3k/gui/src/settings.cpp b/vita3k/gui/src/settings.cpp index 8eff8a574c..cc736a35df 100644 --- a/vita3k/gui/src/settings.cpp +++ b/vita3k/gui/src/settings.cpp @@ -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; @@ -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; }