Fix clipping when pixel_double is on.

Fixes 4 Wheel Thunder split screen issue.
This commit is contained in:
Flyinghead 2018-07-29 17:31:14 +02:00
parent b1686a8f6a
commit 0e881254ef
1 changed files with 5 additions and 5 deletions

View File

@ -104,12 +104,12 @@ s32 SetTileClip(u32 val, bool set)
if (csx <= 0 && csy <= 0 && cex >= 640 && cey >= 480)
return 0;
if (set && clip_mode) {
csx *= scale_x;
csy *= scale_y;
cex *= scale_x;
cey *= scale_y;
csx /= scale_x;
csy /= scale_y;
cex /= scale_x;
cey /= scale_y;
if (!pvrrc.isRTT) {
float t = cey;
cey = 480 - csy;