Ignore vscalefactor if < 1
fix black screen on some intel platforms
This commit is contained in:
parent
e7c44df627
commit
3cd9736fca
|
@ -656,7 +656,7 @@ static bool RenderFrame()
|
|||
{
|
||||
scale_x=fb_scale_x;
|
||||
scale_y=fb_scale_y;
|
||||
if (SCALER_CTL.interlace == 0)
|
||||
if (SCALER_CTL.interlace == 0 && SCALER_CTL.vscalefactor >= 0x400)
|
||||
scale_y *= SCALER_CTL.vscalefactor / 0x400;
|
||||
|
||||
//work out scaling parameters !
|
||||
|
@ -870,7 +870,7 @@ static bool RenderFrame()
|
|||
float min_y = pvrrc.fb_Y_CLIP.min / scale_y;
|
||||
if (!is_rtt)
|
||||
{
|
||||
if (SCALER_CTL.interlace)
|
||||
if (SCALER_CTL.interlace && SCALER_CTL.vscalefactor >= 0x400)
|
||||
{
|
||||
// Clipping is done after scaling/filtering so account for that if enabled
|
||||
height *= SCALER_CTL.vscalefactor / 0x400;
|
||||
|
|
|
@ -1651,7 +1651,7 @@ bool RenderFrame()
|
|||
{
|
||||
scale_x=fb_scale_x;
|
||||
scale_y=fb_scale_y;
|
||||
if (SCALER_CTL.interlace == 0)
|
||||
if (SCALER_CTL.interlace == 0 && SCALER_CTL.vscalefactor >= 0x400)
|
||||
scale_y *= SCALER_CTL.vscalefactor / 0x400;
|
||||
|
||||
//work out scaling parameters !
|
||||
|
@ -1902,7 +1902,7 @@ bool RenderFrame()
|
|||
float min_y = pvrrc.fb_Y_CLIP.min / scale_y;
|
||||
if (!is_rtt)
|
||||
{
|
||||
if (SCALER_CTL.interlace)
|
||||
if (SCALER_CTL.interlace && SCALER_CTL.vscalefactor >= 0x400)
|
||||
{
|
||||
// Clipping is done after scaling/filtering so account for that if enabled
|
||||
height *= SCALER_CTL.vscalefactor / 0x400;
|
||||
|
|
Loading…
Reference in New Issue