From 5f2d532cbb2f3e34d05e7cdd5b1d5ce13ec55bca Mon Sep 17 00:00:00 2001 From: Marie Date: Sun, 27 Feb 2022 20:43:52 +0000 Subject: [PATCH] Add window-mode flag disable FSR Option if borderless enabled --- src/settings.svelte | 2 +- src/ts/launcher/states/Launch.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings.svelte b/src/settings.svelte index 3b0ebb2..f6bb3f2 100644 --- a/src/settings.svelte +++ b/src/settings.svelte @@ -342,7 +342,7 @@ lang: 'settings.enhancements.wine.items.fsr.tooltip' }} prop="wine.fsr" - disabled={winevdSettings['enabled']} + disabled={winevdSettings['enabled'] || Configs.get('borderless_window')} /> => { const virtual_desktop = await Configs.get('wine.virtual_desktop') as object; - let command = `"${path.addSlashes(wineExeutable)}" ${virtual_desktop['enabled'] ? `explorer /desktop=animegame,${virtual_desktop['width']}x${virtual_desktop['height']}` : ''} ${await Configs.get('fps_unlocker') ? 'unlockfps.bat' : 'launcher.bat'} ${await Configs.get('borderless_window') ? '-screen-fullscreen 0 -popupwindow' : ''}`; + let command = `"${path.addSlashes(wineExeutable)}" ${virtual_desktop['enabled'] ? `explorer /desktop=animegame,${virtual_desktop['width']}x${virtual_desktop['height']}` : ''} ${await Configs.get('fps_unlocker') ? 'unlockfps.bat' : 'launcher.bat'} ${await Configs.get('borderless_window') ? '-screen-fullscreen 0 -popupwindow' : ''} ${await Configs.get('wine.fsr') ? '-window-mode exclusive' : ''}`; /** * Gamemode integration