summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py_modules/lsfg_vk/plugin.py11
-rw-r--r--src/components/ConfigurationSection.tsx13
2 files changed, 18 insertions, 6 deletions
diff --git a/py_modules/lsfg_vk/plugin.py b/py_modules/lsfg_vk/plugin.py
index a8fed53..c56765b 100644
--- a/py_modules/lsfg_vk/plugin.py
+++ b/py_modules/lsfg_vk/plugin.py
@@ -67,6 +67,17 @@ class Plugin:
Returns:
DllDetectionResponse dict with detection status and path info
"""
+ return self.dll_detection_service.check_lossless_scaling_dll()
+
+ async def check_lossless_scaling_dll_and_update_config(self) -> Dict[str, Any]:
+ """Check for DLL and automatically update configuration if found
+
+ This method should only be used during installation or when explicitly
+ requested by the user, not for routine DLL detection checks.
+
+ Returns:
+ DllDetectionResponse dict with detection status and path info
+ """
result = self.dll_detection_service.check_lossless_scaling_dll()
# Convert to dict to allow modification
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index a1c175a..deb8fba 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -48,16 +48,17 @@ export function ConfigurationSection({
<PanelSectionRow>
<SliderField
label="FPS Multiplier"
- description="Traditional FPS multiplier value"
+ description="Traditional FPS multiplier value (1 = no interpolation)"
value={config.multiplier}
- min={2}
+ min={1}
max={4}
step={1}
- notchCount={3}
+ notchCount={4}
notchLabels={[
- { notchIndex: 0, label: "2X" },
- { notchIndex: 1, label: "3X" },
- { notchIndex: 2, label: "4X" }
+ { notchIndex: 0, label: "1X" },
+ { notchIndex: 1, label: "2X" },
+ { notchIndex: 2, label: "3X" },
+ { notchIndex: 3, label: "4X" }
]}
onChange={(value) => onConfigChange('multiplier', value)}
/>