From aac6d61dc6e474042b7cddf30d00364b5df82d17 Mon Sep 17 00:00:00 2001
From: koniifer <aurlex1@gmail.com>
Date: Sat, 12 Oct 2024 13:39:23 +0100
Subject: [PATCH] stupid fix

---
 repbuild/src/main.rs       |  5 ++++-
 sysdata/system_config.toml | 12 ++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs
index 47a0653..79891a0 100644
--- a/repbuild/src/main.rs
+++ b/repbuild/src/main.rs
@@ -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
     {
diff --git a/sysdata/system_config.toml b/sysdata/system_config.toml
index 76c2ccc..27e44b8 100644
--- a/sysdata/system_config.toml
+++ b/sysdata/system_config.toml
@@ -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"