diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 30 | ||||
| -rw-r--r-- | src/components/UsageInstructions.tsx | 4 |
2 files changed, 16 insertions, 18 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index ad99c28..85ca463 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -100,12 +100,10 @@ export function ConfigurationSection({ label="Override Vulkan present mode" description="Select a specific Vulkan presentation mode for better performance or compatibility (may cause crashes)" menuLabel="Select presentation mode" - selectedOption={config.experimental_present_mode} + selectedOption={config.experimental_present_mode || "fifo"} onChange={(value) => onConfigChange('experimental_present_mode', value.data)} rgOptions={[ - { data: "", label: "Default" }, - { data: "fifo", label: "FIFO" }, - { data: "vsync", label: "VSync" }, + { data: "fifo", label: "FIFO (VSync)" }, { data: "mailbox", label: "Mailbox" }, { data: "immediate", label: "Immediate" } ]} @@ -113,18 +111,6 @@ export function ConfigurationSection({ </PanelSectionRow> <PanelSectionRow> - <SliderField - label={`FPS Limit${config.experimental_fps_limit > 0 ? ` (${config.experimental_fps_limit} FPS)` : ' (Off)'}`} - description="Base framerate cap for DirectX games, before frame multiplier (requires game re-launch)" - value={config.experimental_fps_limit} - min={0} - max={60} - step={1} - onChange={(value) => onConfigChange('experimental_fps_limit', value)} - /> - </PanelSectionRow> - - <PanelSectionRow> <div style={{ fontSize: "14px", @@ -141,6 +127,18 @@ export function ConfigurationSection({ </PanelSectionRow> <PanelSectionRow> + <SliderField + label={`DXVK Frame Rate${config.dxvk_frame_rate > 0 ? ` (${config.dxvk_frame_rate} FPS)` : ' (Off)'}`} + description="Base framerate cap for DirectX games, before frame multiplier (requires game re-launch)" + value={config.dxvk_frame_rate} + min={0} + max={60} + step={1} + onChange={(value) => onConfigChange('dxvk_frame_rate', value)} + /> + </PanelSectionRow> + + <PanelSectionRow> <ToggleField label="Enable WOW64 for 32-bit games" description="Enables PROTON_USE_WOW64=1 for 32-bit games (use with ProtonGE to fix crashing)" diff --git a/src/components/UsageInstructions.tsx b/src/components/UsageInstructions.tsx index 5de1fcf..6025241 100644 --- a/src/components/UsageInstructions.tsx +++ b/src/components/UsageInstructions.tsx @@ -71,8 +71,8 @@ export function UsageInstructions({ config }: UsageInstructionsProps) { • Flow Scale: ${Math.round(config.flow_scale * 100)}% • Performance Mode: ${config.performance_mode ? "Yes" : "No"} • HDR Mode: ${config.hdr_mode ? "Yes" : "No"} -• Present Mode: ${config.experimental_present_mode || "Default (FIFO)"} -• FPS Limit: ${config.experimental_fps_limit > 0 ? `${config.experimental_fps_limit} FPS` : "Off"}`} +• Present Mode: ${config.experimental_present_mode || "FIFO (VSync)"} +• DXVK Frame Rate: ${config.dxvk_frame_rate > 0 ? `${config.dxvk_frame_rate} FPS` : "Off"}`} </div> </PanelSectionRow> */} |
