mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
Make the screen visible when enabling a tiled mode
This commit is contained in:
parent
d055cbd59c
commit
14cd1e52c4
|
@ -89,6 +89,9 @@ unsafe fn set_graphics_mode(mode: DisplayMode) {
|
||||||
let current = current & (!0b111);
|
let current = current & (!0b111);
|
||||||
let s = current | (mode as u16 & 0b111);
|
let s = current | (mode as u16 & 0b111);
|
||||||
|
|
||||||
|
// disable blank screen
|
||||||
|
let s = s & !(1 << 7);
|
||||||
|
|
||||||
DISPLAY_CONTROL.set(s);
|
DISPLAY_CONTROL.set(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue