aboutsummaryrefslogtreecommitdiff
path: root/src/GPU2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU2D.cpp')
-rw-r--r--src/GPU2D.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp
index 521d86a..3a99964 100644
--- a/src/GPU2D.cpp
+++ b/src/GPU2D.cpp
@@ -1489,8 +1489,8 @@ void GPU2D::DrawBG_3D()
{
for (; i < iend; i++)
{
- int is = i << 1;
- int xs = xoff << 1;
+ int is = i << 2;
+ int xs = xoff << 2;
u32 c;
xoff++;
@@ -1511,8 +1511,8 @@ void GPU2D::DrawBG_3D()
xs++;
}
- is += 1021;
- xs += 1021;
+ is += 1020;
+ xs += 1020;
}
}
}