Leave the setup's AMD FSR box unticked when no display adapter could be listed

A player whose adapter query fails no longer downloads AMD's FSR libraries (about 36 MB) by default; the box starts
ticked only where an AMD adapter is listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
codexx-devandClaude Opus 5.5 committed 2026-11-19 21:59:05 -03:00
1 parent 35d7411bab
commit 94e66ebfde
2 files changed
+7 -7

No files matched your search

+3 -2
View File
@@ -183,7 +183,8 @@ class RunStatesTest(unittest.TestCase):
class FsrDefaultTest(unittest.TestCase):
"""Download AMD FSR is ticked at start with an AMD adapter only, and when no adapter could be listed."""
"""Download AMD FSR is ticked at start with an AMD adapter only: not with other GPUs, nor when no adapter could be
listed."""
def test_amd(self):
self.assertTrue(fsr_default(['AMD Radeon RX 9060 XT']))
@@ -194,7 +195,7 @@ class FsrDefaultTest(unittest.TestCase):
self.assertFalse(fsr_default(['Intel(R) Arc(TM) A770 Graphics', 'Microsoft Basic Render Driver']))
def test_unknown(self):
self.assertTrue(fsr_default([]))
self.assertFalse(fsr_default([]))
class FormTest(unittest.TestCase):