mirror of
https://github.com/vivier/EMILE.git
synced 2025-08-10 20:24:58 +00:00
make vga_clear() only if vga is enabled
This commit is contained in:
@@ -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