From 31b5e7b1f91d17d3811a55973aa30a76811deb6d Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 30 Jan 2022 17:40:58 +0100 Subject: [PATCH] Make VD disable AMD FSR --- src/settings.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/settings.svelte b/src/settings.svelte index 44f413f..ceec062 100644 --- a/src/settings.svelte +++ b/src/settings.svelte @@ -48,6 +48,12 @@ Configs.get('winevd').then((settings) => winevdSettings = settings as object); + const WineVDBox = (value: boolean) => { + winevdSettings['enabled'] = value; + if (value) + Configs.set('fsr', false); + } + const handleWineVD = (field: 'height' | 'width', value: string) => { winevdSettings[field] = parseInt(value); @@ -326,7 +332,7 @@ winevdSettings['enabled'] = value} + valueChanged={(value) => WineVDBox(value)} /> @@ -343,6 +349,7 @@ lang="settings.enhancements.items.fsr.title" tooltip="settings.enhancements.items.fsr.tooltip" prop="fsr" + disabled={winevdSettings['enabled']} />