mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-07 14:12:31 -04:00
only inv or fakebrightness (#2240)
This commit is contained in:
parent
31c844b48e
commit
1f78646054
5 changed files with 14 additions and 19 deletions
|
@ -78,7 +78,7 @@ void IO::reference_oscillator(const bool enable) {
|
|||
}
|
||||
|
||||
bool IO::get_dark_cover() {
|
||||
return portapack::persistent_memory::apply_fake_brightness();
|
||||
return portapack::persistent_memory::apply_fake_brightness() & (!portapack::persistent_memory::config_lcd_inverted_mode());
|
||||
}
|
||||
|
||||
bool IO::get_is_inverted() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue