mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-27 06:29:15 +00:00
make vga_clear() only if vga is enabled
This commit is contained in:
parent
c7d9742b8a
commit
600f012138
@ -563,10 +563,12 @@ vga_init(char *mode)
|
||||
vga.charset = CHARSET_B;
|
||||
|
||||
vga_cursor(0);
|
||||
vga_clear();
|
||||
|
||||
if (strcmp(mode, "none") != 0)
|
||||
{
|
||||
vga.enabled = 1;
|
||||
vga_clear();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user