Add VIDEO_POWER_PREFERENCE value to Debug info

This commit is contained in:
redphx 2024-07-20 07:13:44 +07:00
parent 782c0a6967
commit e7d7ccf165
2 changed files with 5 additions and 3 deletions

View File

@ -350,7 +350,7 @@ var SUPPORTED_LANGUAGES = {
"always-off": "Always off",
"always-on": "Always on",
"amd-fidelity-cas": "AMD FidelityFX CAS",
"android-app-settings": "Android app settings",
"app-settings": "App settings",
apply: "Apply",
"aspect-ratio": "Aspect ratio",
"aspect-ratio-note": "Don't use with native touch games",
@ -5377,7 +5377,7 @@ function setupSettingsUi() {
}
})), AppInterface)
topButtons.push(createButton({
label: t("android-app-settings"),
label: t("app-settings"),
icon: BxIcon.STREAM_SETTINGS,
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE,
onClick: (e) => {
@ -5526,6 +5526,7 @@ function setupSettingsUi() {
PrefKey.STREAM_CODEC_PROFILE,
PrefKey.VIDEO_PLAYER_TYPE,
PrefKey.VIDEO_PROCESSING,
PrefKey.VIDEO_POWER_PREFERENCE,
PrefKey.VIDEO_SHARPNESS
];
debugInfo.settings = {};
@ -7607,7 +7608,7 @@ class GuideMenu {
}
}),
appSettings: createButton({
label: t("android-app-settings"),
label: t("app-settings"),
style: ButtonStyle.FULL_WIDTH | ButtonStyle.FOCUSABLE,
onClick: (e) => {
window.BX_EXPOSED.dialogRoutes.closeAll(), AppInterface.openAppSettings && AppInterface.openAppSettings();

View File

@ -465,6 +465,7 @@ export function setupSettingsUi() {
PrefKey.VIDEO_PLAYER_TYPE,
PrefKey.VIDEO_PROCESSING,
PrefKey.VIDEO_POWER_PREFERENCE,
PrefKey.VIDEO_SHARPNESS,
];