Enable language autodetect for all builds with LANGEXTRA. (#15110)

This commit is contained in:
zoltanvb 2023-03-19 21:07:11 +01:00 committed by GitHub
parent 2a36245e0c
commit 523c394ccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2326,11 +2326,7 @@ static struct config_uint_setting *populate_settings_uint(
SETTING_UINT("netplay_share_analog", &settings->uints.netplay_share_analog, true, DEFAULT_NETPLAY_SHARE_ANALOG, false);
#endif
#ifdef HAVE_LANGEXTRA
#ifdef VITA
SETTING_UINT("user_language", msg_hash_get_uint(MSG_HASH_USER_LANGUAGE), true, frontend_driver_get_user_language(), false);
#else
SETTING_UINT("user_language", msg_hash_get_uint(MSG_HASH_USER_LANGUAGE), true, DEFAULT_USER_LANGUAGE, false);
#endif
#endif
#ifndef __APPLE__
SETTING_UINT("bundle_assets_extract_version_current", &settings->uints.bundle_assets_extract_version_current, true, 0, false);