aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-12-04 17:54:10 +0100
committerStapleButter <thetotalworm@gmail.com>2018-12-04 17:54:10 +0100
commit172fb4876a6fa7f704eb4256bcc2368cc7dde3c6 (patch)
tree246c5de422ee2ecb97179674b15702941fc37de2 /src/GPU3D.cpp
parent808bda9171c472cfed2e891f80a4ed55c93658a4 (diff)
begin work on general timing renovation. way shitty because it behaves as if caches were off, so everything will be slow as shit.
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r--src/GPU3D.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp
index 36858f7..df27913 100644
--- a/src/GPU3D.cpp
+++ b/src/GPU3D.cpp
@@ -1984,12 +1984,10 @@ void ExecuteCommand()
break;
case 0x21: // normal
- {
- Normal[0] = (s16)((ExecParams[0] & 0x000003FF) << 6) >> 6;
- Normal[1] = (s16)((ExecParams[0] & 0x000FFC00) >> 4) >> 6;
- Normal[2] = (s16)((ExecParams[0] & 0x3FF00000) >> 14) >> 6;
- CalculateLighting();
- }
+ Normal[0] = (s16)((ExecParams[0] & 0x000003FF) << 6) >> 6;
+ Normal[1] = (s16)((ExecParams[0] & 0x000FFC00) >> 4) >> 6;
+ Normal[2] = (s16)((ExecParams[0] & 0x3FF00000) >> 14) >> 6;
+ CalculateLighting();
break;
case 0x22: // texcoord