Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve backlight related options for CP 20 phats #2316

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

edo9300
Copy link
Contributor

@edo9300 edo9300 commented Oct 23, 2023

What's changed?

Separate backlight related logic by adding a new parameter hasRegulableBacklight to systemdetails. With this now phats that have regulable backlights can benefit from the possibility to change it from the quick menu. If the quick menu is running on a phat, the "brightness" button will now behave like on stock firmware and just toggle the backlight on/off, on a phat with regulable backlight instead this will be the 5th "brightness" level.
Changed the behaviour of the settings app of always turning on the backlight when exiting, now it will keep track of the original backlight state when it was launched.
Moved the ds phat detection code to arm7 as it was broken on arm9.

Where have you tested it?

Ds phat with cp 20 motherboard, ds lite, dsi from flashcard and dsi mode.


Pull Request status

  • This PR has been tested using the latest version of devkitARM and libnds.

Also move the ds phat check to arm7, as on arm9 it was broken
@RocketRobz RocketRobz merged commit b76ddaa into DS-Homebrew:master Oct 23, 2023
1 check passed
@edo9300 edo9300 deleted the regulable-backlight branch October 29, 2023 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants