}
vb->inwidth = (current_linear_hpos_short - (display_hstart_cyclewait_skip_start + display_hstart_cyclewait_skip_end)) << (res2 + 1);
- vb->inwidth2 = vb->inwidth;
vb->extrawidth = -2;
if (currprefs.gfx_extrawidth > 0) {
vb->extrawidth = currprefs.gfx_extrawidth << res2;
linear_vpos_vb_end = 0;
}
vb->inheight = maxv << vres2;
- vb->inheight2 = vb->inheight;
vb->inxoffset = 0;
if (currprefs.gfx_overscanmode >= OVERSCANMODE_ULTRA) {
if (vb->inwidth < 16)
vb->inwidth = 16;
- if (vb->inwidth2 < 16)
- vb->inwidth2 = 16;
if (vb->inheight < 1)
vb->inheight = 1;
- if (vb->inheight2 < 1)
- vb->inheight2 = 1;
if (!vb->hardwiredpositioning) {
vb->outwidth = vb->inwidth;
if (vb->inwidth > vb->width_allocated)
vb->inwidth = vb->width_allocated;
- if (vb->inwidth2 > vb->width_allocated)
- vb->inwidth2 = vb->width_allocated;
-
+
if (vb->inheight > vb->height_allocated)
vb->inheight = vb->height_allocated;
- if (vb->inheight2 > vb->height_allocated)
- vb->inheight2 = vb->height_allocated;
if (vb->outwidth > vb->width_allocated)
vb->outwidth = vb->width_allocated;
struct vidbuf_description *vidinfo = &adisplays[0].gfxvidinfo;
vb->inwidth = vidinfo->inbuffer->inwidth;
vb->inheight = vidinfo->inbuffer->inheight;
- vb->inwidth2 = vidinfo->inbuffer->inwidth2;
- vb->inheight2 = vidinfo->inbuffer->inheight2;
vb->outwidth = vidinfo->inbuffer->outwidth;
vb->outheight = vidinfo->inbuffer->outheight;
}
/* nominal size of image for centering */
int inwidth;
int inheight;
- /* same but doublescan multiplier included */
- int inwidth2;
- int inheight2;
/* static, hardwired screen position and size (A2024) */
bool hardwiredpositioning;
/* extra width, chipset hpos extra in right border */
dst->outheight = height;
dst->inwidth = width;
dst->inheight = height;
- dst->inwidth2 = width;
- dst->inheight2 = height;
src->hardwiredpositioning = !nativeposition;
dst->hardwiredpositioning = !nativeposition;