mirror of
https://github.com/vivier/EMILE.git
synced 2026-10-22 04:02:33 +00:00
make vga_clear() only if vga is enabled
This commit is contained in:
1 parent
c7d9742b8a
commit
600f012138
1 file changed
+3
-1
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user