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))
}
}