feat: stretch 16:9 games to screens wider than 16:9 too (#1558)

* feat: stretch 16:9 games to screens wider than 16:9 too

* fix: don't offer 16:9 game fit while the session follows the screen
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-25 12:37:47 -04:00
1 parent 411fda343a
commit 10fe5c5f77
5 files changed
+20 -7

No files matched your search

@@ -79,5 +79,5 @@ object SessionDisplay {
}
fun canStretch16x9(size: Pair<Int, Int>): Boolean =
(size.second * 16 + 4) / 9 / 2 * 2 > size.first
(size.second * 16 + 4) / 9 / 2 * 2 > size.first || (size.first * 9 + 8) / 16 / 2 * 2 > size.second
}