ioctl METEORGBRIG in bktr_core.c forgets to add 128 to value
PR: 59289 Submitted by: Danovitsch@Vitsch.net
This commit is contained in:
parent
f7c7e94da3
commit
a4d3d010b8
@ -1545,7 +1545,7 @@ video_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct thr
|
||||
break;
|
||||
|
||||
case METEORGBRIG: /* get brightness */
|
||||
*(u_char *)arg = INB(bktr, BKTR_BRIGHT);
|
||||
*(u_char *)arg = INB(bktr, BKTR_BRIGHT) + 128;
|
||||
break;
|
||||
|
||||
case METEORSCSAT: /* set chroma saturation */
|
||||
|
Loading…
Reference in New Issue
Block a user