Closed lgeek closed 10 years ago
Without this check atv_layer_cnt can both overflow and underflow, causing the lcdc (and the screen) to shut down when it shouldn't.
No point attempting to set an lcdc to the same state it already is in.
Uhm, I've noticed layer id isn't range checked, I'll rewrite this
Without this check atv_layer_cnt can both overflow and underflow, causing the lcdc (and the screen) to shut down when it shouldn't.
No point attempting to set an lcdc to the same state it already is in.