mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-13 14:36:37 -04:00
Init VESA only if necessary
This commit is contained in:
parent
6feae8af83
commit
b94f9d46bd
@ -50,7 +50,7 @@ void kernel_main(){
|
||||
disks::detect_disks();
|
||||
|
||||
//Try to init VESA
|
||||
if(!vesa::init()){
|
||||
if(vesa::vesa_enabled && !vesa::init()){
|
||||
vesa::vesa_enabled = false;
|
||||
|
||||
//Unfortunately, we are in long mode, we cannot go back
|
||||
|
Loading…
x
Reference in New Issue
Block a user