1
0
Fork 0
forked from AbleOS/ableos

stupid fix

This commit is contained in:
koniifer 2024-10-12 13:39:23 +01:00
parent 3df6f18c85
commit aac6d61dc6
2 changed files with 10 additions and 7 deletions

View file

@ -362,7 +362,10 @@ fn run(release: bool, target: Target) -> Result<(), Error> {
let accel = if supported.contains("kvm") && (vmx | svm) {
"accel=kvm"
} else if cpuid.get_processor_brand_string() == "GenuineIntel"
} else if cpuid
.get_processor_brand_string()
.filter(|a| a.as_str() == "GenuineIntel")
.is_some()
&& supported.contains("hax")
&& vmx
{

View file

@ -26,8 +26,8 @@ resolution = "1024x768x24"
# [boot.limine.ableos.modules.diskio_driver]
# path = "boot:///diskio_driver.hbf"
# [boot.limine.ableos.modules.render_example]
# path = "boot:///render_example.hbf"
[boot.limine.ableos.modules.render_example]
path = "boot:///render_example.hbf"
# [boot.limine.ableos.modules.serial_driver_test]
# path = "boot:///serial_driver_test.hbf"
@ -44,8 +44,8 @@ resolution = "1024x768x24"
# [boot.limine.ableos.modules.svga_driver]
# path = "boot:///svga_driver.hbf"
[boot.limine.ableos.modules.ps2_driver]
path = "boot:///ps2_driver.hbf"
# [boot.limine.ableos.modules.ps2_driver]
# path = "boot:///ps2_driver.hbf"
# [boot.limine.ableos.modules.filesystem_fat32]
# path = "boot:///filesystem_fat32.hbf"
@ -53,5 +53,5 @@ path = "boot:///ps2_driver.hbf"
# [boot.limine.ableos.modules.pumpkin_print]
# path = "boot:///pumpkin_print.hbf"
[boot.limine.ableos.modules.tetris]
path = "boot:///tetris.hbf"
# [boot.limine.ableos.modules.tetris]
# path = "boot:///tetris.hbf"