1.1 --- a/src/pvr2/pvr2.c Thu Oct 23 08:30:47 2008 +0000
1.2 +++ b/src/pvr2/pvr2.c Fri Nov 07 07:39:52 2008 +0000
1.4 int vid_ppl = ((dispsize & DISPSIZE_PPL)) + 1;
1.6 fbuf.colour_format = output_colour_formats[(dispmode & DISPMODE_COLFMT) >> 2];
1.7 - fbuf.width = vid_ppl << 2 / colour_formats[fbuf.colour_format].bpp;
1.8 + fbuf.width = (vid_ppl << 2) / colour_formats[fbuf.colour_format].bpp;
1.9 fbuf.height = ((dispsize & DISPSIZE_LPF) >> 10) + 1;
1.10 - fbuf.size = vid_ppl << 2 * fbuf.height;
1.11 + fbuf.size = (vid_ppl << 2) * fbuf.height;
1.12 fbuf.rowstride = (vid_ppl + vid_stride) << 2;
1.14 /* Determine the field to display, and deinterlace if possible */