mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
vita3K Update: Init it only in CLI master build.
This commit is contained in:
@@ -26,6 +26,7 @@ if(GIT_HASH STREQUAL "")
|
||||
set(GIT_COUNT 0)
|
||||
elseif((GIT_BRANCH STREQUAL "master") OR (GIT_BRANCH STREQUAL "HEAD"))
|
||||
set(VITA3K_GIT_REV "${GIT_HASH}")
|
||||
add_definitions(-DUSE_VITA3K_UPDATE)
|
||||
else()
|
||||
set(VITA3K_GIT_REV "${GIT_HASH}-${GIT_BRANCH}")
|
||||
endif()
|
||||
|
||||
@@ -183,8 +183,10 @@ void open_user(GuiState &gui, EmuEnvState &emuenv) {
|
||||
init_theme_start_background(gui, emuenv, gui.users[emuenv.io.user_id].theme_id);
|
||||
|
||||
gui.live_area.start_screen = true;
|
||||
#ifdef USE_VITA3K_UPDATE
|
||||
if (init_vita3k_update(gui))
|
||||
gui.help_menu.vita3k_update = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
static auto get_users_index(GuiState &gui, const std::string &user_name) {
|
||||
|
||||
Reference in New Issue
Block a user