mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
framebuffer: support another edge case
This commit is contained in:
@@ -20,6 +20,7 @@ static int devchecks(int fb, size_t* count, size_t offset){
|
||||
|
||||
if(offset >= end){
|
||||
*count = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(*count + offset > end)
|
||||
|
||||
Reference in New Issue
Block a user