init
This commit is contained in:
commit
cc9f6b58e1
21 changed files with 1538 additions and 0 deletions
35
test.patch
Normal file
35
test.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue