Fix term_getsizes(), return proper char count
This commit is contained in:
@ -26,7 +26,7 @@ int32_t SYSCALL2(sys_term_getsizes, w1, h1) {
|
|||||||
return E_INVALIDARGUMENT;
|
return E_INVALIDARGUMENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
*w = (uint16_t)(BOOT_INFO.fb->width / 16);
|
*w = (uint16_t)(BOOT_INFO.fb->width / 8);
|
||||||
*h = (uint16_t)(BOOT_INFO.fb->height / 16);
|
*h = (uint16_t)(BOOT_INFO.fb->height / 16);
|
||||||
|
|
||||||
return E_OK;
|
return E_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user