Make the screen visible when enabling a tiled mode

This commit is contained in:
Gwilym Kuiper 2022-03-28 21:53:54 +01:00
parent d055cbd59c
commit 14cd1e52c4

View file

@ -89,6 +89,9 @@ unsafe fn set_graphics_mode(mode: DisplayMode) {
let current = current & (!0b111);
let s = current | (mode as u16 & 0b111);
// disable blank screen
let s = s & !(1 << 7);
DISPLAY_CONTROL.set(s);
}