Created
November 26, 2022 01:44
-
-
Save psanford/897c6568ef82143c2768be0742e746d5 to your computer and use it in GitHub Desktop.
use full screen for m2 air framebuffer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/kboot.c b/src/kboot.c | |
index 67c5eff..e48343f 100644 | |
--- a/src/kboot.c | |
+++ b/src/kboot.c | |
@@ -80,6 +80,7 @@ void get_notchless_fb(u64 *fb_base, u64 *fb_height) | |
printf("display: Hiding notch, %lux%lu -> %lux%lu (+%lu, 16:%lu)\n", cur_boot_args.video.width, | |
cur_boot_args.video.height, cur_boot_args.video.width, new_height, offset, hfrac); | |
+ return; | |
*fb_base += cur_boot_args.video.stride * offset; | |
*fb_height = new_height; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment