diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-08-03 14:32:35 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-08-03 14:32:35 -0400 |
| commit | e0681b06efdee3dcacb6ddfca515d947b802faff (patch) | |
| tree | 52c1cad716b92c784d2946d063cc36b34255ea5e /src/components | |
| parent | 8df4d48cd89d636940982e60bb51b688226e630c (diff) | |
| parent | b936baab13b026d4355844d94616a622753a7370 (diff) | |
| download | decky-lsfg-vk-e0681b06efdee3dcacb6ddfca515d947b802faff.tar.gz decky-lsfg-vk-e0681b06efdee3dcacb6ddfca515d947b802faff.zip | |
Merge main and normalize translation locale handling
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 11 | ||||
| -rw-r--r-- | src/components/Content.tsx | 2 | ||||
| -rw-r--r-- | src/components/UsageInstructions.tsx | 7 |
3 files changed, 12 insertions, 8 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index c988f9f..a10aab2 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -3,7 +3,7 @@ import { useState, useEffect } from "react"; import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri"; import { ConfigurationData } from "../config/configSchema"; import { - FLOW_SCALE, PERFORMANCE_MODE, HDR_MODE, + FLOW_SCALE, NO_FP16, PERFORMANCE_MODE, HDR_MODE, EXPERIMENTAL_PRESENT_MODE, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE, MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK } from "../config/generatedConfigSchema"; @@ -127,6 +127,15 @@ export function ConfigurationSection({ </PanelSectionRow> <PanelSectionRow> + <ToggleField + label="FP16 Acceleration" + description="Use FP16 shaders when supported" + checked={!config.no_fp16} + onChange={(value) => onConfigChange(NO_FP16, !value)} + /> + </PanelSectionRow> + + <PanelSectionRow> <SliderField label={`${t('CONFIG_BASE_FPS_CAP', 'Base FPS Cap')}${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : ` (${t('CONFIG_BASE_FPS_CAP_OFF', 'Off')})`}`} description={t('CONFIG_BASE_FPS_CAP_DESC', 'Base framerate cap for DirectX games, before frame multiplier. (Requires game restart to apply)')} diff --git a/src/components/Content.tsx b/src/components/Content.tsx index c785a50..5988e79 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -144,7 +144,7 @@ export function Content() { </> )} - <UsageInstructions config={config} /> + <UsageInstructions /> <PanelSectionRow> <ButtonItem diff --git a/src/components/UsageInstructions.tsx b/src/components/UsageInstructions.tsx index 6d32506..36e31cf 100644 --- a/src/components/UsageInstructions.tsx +++ b/src/components/UsageInstructions.tsx @@ -1,12 +1,7 @@ import { PanelSectionRow } from "@decky/ui"; -import { ConfigurationData } from "../config/configSchema"; import t from '../i18n/i18n'; -interface UsageInstructionsProps { - config: ConfigurationData; -} - -export function UsageInstructions({ config: _config }: UsageInstructionsProps) { +export function UsageInstructions() { return ( <> <PanelSectionRow> |
