mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 15:50:29 +08:00
[BOOTVID:PC98][PC98VID] Disable the text layer when setting mode (#8539)
The previous approach was causing the contents of TVRAM to be visible after boot:
https://github.com/user-attachments/assets/df6d2782-4d54-41ab-b4c9-caeb170c4e1e
Fixes a regression introduced in 0fa49018cd.
CORE-17977
This commit is contained in:
@@ -219,6 +219,9 @@ InitializeDisplay(VOID)
|
||||
TextSync();
|
||||
TextSync();
|
||||
|
||||
/* Turn off the text layer */
|
||||
WRITE_GDC1_COMMAND(GDC_COMMAND_STOP2);
|
||||
|
||||
/* START */
|
||||
WRITE_GDC2_COMMAND(GDC_COMMAND_BCTRL_START);
|
||||
|
||||
|
||||
@@ -227,6 +227,9 @@ Pc98VidSetCurrentMode(
|
||||
TextSync();
|
||||
TextSync();
|
||||
|
||||
/* Turn off the text layer */
|
||||
WRITE_GDC1_COMMAND(GDC_COMMAND_STOP2);
|
||||
|
||||
/* START */
|
||||
WRITE_GDC2_COMMAND(GDC_COMMAND_BCTRL_START);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user