mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-04-07 05:56:34 +02:00

This PR adds a setting to the config that allows users with TVs, scalers, and other devices that struggle with interlaced video input to force progressive scan to the menu. ## Description This PR implements the aforementioned new setting my changing libdragon's display module setting from `INTERLACE_HALF` to `INTERLACE_OFF` if the newly added `force_progressive_scan` setting bool is set. This tells the display module to not set the serrate bit in the VI configuration registers and in effect forces "artificial" progressive scan at 240p by dropping one field, without having to modify the menu's rendering resolution of 640x480. ## Motivation and Context Motivated by currently open issues #59 and #82 as well as Discord comments from some menu users: - https://discord.com/channels/205520502922543113/1262536014623146125/1349024387721986061 - https://discord.com/channels/205520502922543113/1262536014623146125/1349025967351271445 - https://discord.com/channels/205520502922543113/1262536014623146125/1349030951585579058 ## How Has This Been Tested? Tested in ares. Testing on real devices by affected users would be appreciated. ## Types of changes - [x] Improvement (non-breaking change that adds a new feature) - [ ] Bug fix (fixes an issue) - [ ] Breaking change (breaking change) - [ ] Documentation Improvement - [ ] Config and build (change in the configuration and build system, has no impact on code or features) ## Checklist: - [x] My code follows the code style of this project. - [x] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. Signed-off-by: thekovic 72971433+thekovic@users.noreply.github.com Co-authored-by: Robin Jones <networkfusion@users.noreply.github.com>