aboutsummaryrefslogtreecommitdiff
path: root/GPU3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GPU3D.cpp')
-rw-r--r--GPU3D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/GPU3D.cpp b/GPU3D.cpp
index 3c21cfa..827b351 100644
--- a/GPU3D.cpp
+++ b/GPU3D.cpp
@@ -1245,7 +1245,7 @@ void ExecuteCommand()
case 0x22: // texcoord
TexCoords[0] = ExecParams[0] & 0xFFFF;
- TexCoords[1] = ExecParams[1] >> 16;
+ TexCoords[1] = ExecParams[0] >> 16;
if ((TexParam >> 30) == 1)
{
TexCoords[0] = (TexCoords[0]*TexMatrix[0] + TexCoords[1]*TexMatrix[4] + TexMatrix[8] + TexMatrix[12]) >> 12;