fix: DD-FG 3x/4x flicker and rebrand Win-FG to DD-FG (#1132)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-19 11:21:32 -04:00
1 parent ab6d100cea
commit 2415ff0518
62 files changed
+353 -324

No files matched your search

@@ -36,7 +36,13 @@ class FrameGenTest {
@Test fun onlyLsfgIsAdaptive() {
context.getSharedPreferences("frame_gen", Context.MODE_PRIVATE).edit()
.putString("engine", FrameGen.ENGINE_WINFG).putInt("multiplier", 4).putInt("target", 60).commit()
assertEquals(FrameGen.Mode(FrameGen.ENGINE_WINFG, 4), FrameGen.mode(context))
.putString("engine", FrameGen.ENGINE_DDFG).putInt("multiplier", 4).putInt("target", 60).commit()
assertEquals(FrameGen.Mode(FrameGen.ENGINE_DDFG, 4), FrameGen.mode(context))
}
@Test fun aSavedWinFgChoiceBecomesDdFg() {
context.getSharedPreferences("frame_gen", Context.MODE_PRIVATE).edit()
.putString("engine", "winfg").putInt("multiplier", 2).commit()
assertEquals(FrameGen.Mode(FrameGen.ENGINE_DDFG, 2), FrameGen.mode(context))
}
}
@@ -34,7 +34,7 @@ class SettingsResetTest {
SessionPrefs.setGuestHostname(app, "MyDeck")
ControllerPrefs.setOpacity(app, 40)
AppUiPrefs.setScale(app, 150)
FrameGen.set(app, FrameGen.Mode(FrameGen.ENGINE_WINFG, 3))
FrameGen.set(app, FrameGen.Mode(FrameGen.ENGINE_DDFG, 3))
prefs("steam_touch").edit().putBoolean("gyro", false).commit()
assertTrue(SettingsReset.resetAll(app, gameProfiles = false))