diff options
author | StapleButter <thetotalworm@gmail.com> | 2018-12-04 17:54:10 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2018-12-04 17:54:10 +0100 |
commit | 172fb4876a6fa7f704eb4256bcc2368cc7dde3c6 (patch) | |
tree | 246c5de422ee2ecb97179674b15702941fc37de2 /src/GPU3D.cpp | |
parent | 808bda9171c472cfed2e891f80a4ed55c93658a4 (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.cpp | 10 |
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 |