badappleuefi-rs/test.patch

36 lines
1.3 KiB
Diff
Raw Permalink Normal View History

2025-10-01 08:11:05 +02:00
diff --git a/src/app/assets.rs b/src/app/assets.rs
index 1234567..abcdef0 100644
--- a/src/app/assets.rs
+++ b/src/app/assets.rs
@@ -1,7 +1,7 @@
-use uefi::{table::boot::BootServices, Status, StatusExt};
+use uefi::{table::BootServices, Status};
// ... rest of your code ...
diff --git a/src/app/mod.rs b/src/app/mod.rs
index 1234567..abcdef0 100644
--- a/src/app/mod.rs
+++ b/src/app/mod.rs
@@ -13,7 +13,7 @@
-pub fn run(image_handle: Handle, st: &mut SystemTable<Boot>) -> Result<(), Status> {
+pub fn run(image_handle: Handle, st: &mut SystemTable<Boot>) -> Result<(), Status> {
// ... your logic ...
}
diff --git a/src/app/graphics.rs b/src/app/graphics.rs
index 1234567..abcdef0 100644
--- a/src/app/graphics.rs
+++ b/src/app/graphics.rs
@@ -119,7 +119,7 @@
- let white = mask.red_mask | mask.green_mask | mask.blue_mask;
+ let white = mask.red | mask.green | mask.blue;
// ... rest of your code ...
-// Refactor any code that borrows self.scratch and self.frame_buffer mutably at the same time.
-// For example, process scratch first, then frame_buffer, or copy data into a local variable.
+// Refactor any code that borrows self.scratch and self.frame_buffer mutably at the same time.
+// For example, process scratch first, then frame_buffer, or copy data into a local variable.