enable powerview in rasctl

This commit is contained in:
RaSCSI User 2021-12-27 23:41:32 +00:00
parent d8aa839118
commit 610238659d
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -87,6 +87,9 @@ PbDeviceType ParseType(const char *optarg)
case 'r':
return SCRM;
case 'p':
return SCPV;
default:
return UNDEFINED;
}