mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-06 22:29:30 +00:00
enable powerview in rasctl
This commit is contained in:
parent
d8aa839118
commit
610238659d
|
@ -84,8 +84,8 @@ struct fb_var_screeninfo fbinfo;
|
|||
if (ioctl(this->fbfd, FBIOGET_FSCREENINFO, &fbfixinfo))
|
||||
err(1, "ioctl FBIOGET_FSCREENINFO");
|
||||
|
||||
if (fbinfo.bits_per_pixel != 32)
|
||||
errx(1, "TODO: support %d bpp", fbinfo.bits_per_pixel);
|
||||
// if (fbinfo.bits_per_pixel != 32)
|
||||
// errx(1, "TODO: support %d bpp", fbinfo.bits_per_pixel);
|
||||
|
||||
this->fbwidth = fbinfo.xres;
|
||||
this->fbheight = fbinfo.yres;
|
||||
|
|
|
@ -87,6 +87,9 @@ PbDeviceType ParseType(const char *optarg)
|
|||
case 'r':
|
||||
return SCRM;
|
||||
|
||||
case 'p':
|
||||
return SCPV;
|
||||
|
||||
default:
|
||||
return UNDEFINED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user