summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorxXJsonDeruloXx <danielhimebauch@gmail.com>2026-08-06 21:26:40 -0400
committerxXJsonDeruloXx <danielhimebauch@gmail.com>2026-08-06 21:26:40 -0400
commit598931c87995a9e2f3af045ca51c736729ae5197 (patch)
tree95999a21ffd0b2ecb83c8b1b226aced4ddbbd171 /src/components
parent6435769b270c8f849839a971f21b802a3f70662e (diff)
downloaddecky-lsfg-vk-598931c87995a9e2f3af045ca51c736729ae5197.tar.gz
decky-lsfg-vk-598931c87995a9e2f3af045ca51c736729ae5197.zip
fix: expose runtime 1x passthrough in Decky
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ConfigurationSection.tsx11
-rw-r--r--src/components/FpsMultiplierControl.tsx4
2 files changed, 3 insertions, 12 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 538975e..f332ad2 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 {
- ACTIVE_IN, ALLOW_FP16, DISABLE_LSFGVK, DLL, FLOW_SCALE, GPU,
+ ACTIVE_IN, ALLOW_FP16, DLL, FLOW_SCALE, GPU,
PERFORMANCE_MODE, USE_NATIVE_MATCHING, DXVK_FRAME_RATE, DISABLE_STEAMDECK_MODE,
MANGOHUD_WORKAROUND, DISABLE_VKBASALT, FORCE_ENABLE_VKBASALT, ENABLE_WSI, ENABLE_ZINK
} from "../config/generatedConfigSchema";
@@ -136,15 +136,6 @@ export function ConfigurationSection({
<PanelSectionRow>
<ToggleField
- label="Disable Frame Generation"
- description="Disables lsfg-vk on the next game launch. Requires a game restart."
- checked={config.disable_lsfgvk}
- onChange={(value) => onConfigChange(DISABLE_LSFGVK, value)}
- />
- </PanelSectionRow>
-
- <PanelSectionRow>
- <ToggleField
label="Allow FP16"
description="Improves performance on AMD; disable for older NVIDIA GPUs."
checked={config.allow_fp16}
diff --git a/src/components/FpsMultiplierControl.tsx b/src/components/FpsMultiplierControl.tsx
index 3f559ea..b9a0f80 100644
--- a/src/components/FpsMultiplierControl.tsx
+++ b/src/components/FpsMultiplierControl.tsx
@@ -33,8 +33,8 @@ export function FpsMultiplierControl({
padding: "5px 0px 0px 0px",
minWidth: "40px",
}}
- onClick={() => onConfigChange(MULTIPLIER, Math.max(2, config.multiplier - 1))}
- disabled={config.multiplier <= 2}
+ onClick={() => onConfigChange(MULTIPLIER, Math.max(1, config.multiplier - 1))}
+ disabled={config.multiplier <= 1}
>
</DialogButton>