diff options
author | StapleButter <thetotalworm@gmail.com> | 2018-12-17 02:50:36 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2018-12-17 02:50:36 +0100 |
commit | 4a36193cabc86fbe07b6b5807e4441ffd72ed5c3 (patch) | |
tree | c72327f2c46fefcabca28072452b8632eb734aad /src | |
parent | 59c715475d9099520bc8e3e7412319458f226e95 (diff) |
be sure to always reset NormalPipeline
Diffstat (limited to 'src')
-rw-r--r-- | src/GPU3D.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp index 7b72684..bc1ab1b 100644 --- a/src/GPU3D.cpp +++ b/src/GPU3D.cpp @@ -1638,6 +1638,7 @@ void ExecuteCommand() // commands that can run 6 cycles after a vertex if (VertexPipeline > 2) AddCycles((VertexPipeline - 2) + 1); else AddCycles(NormalPipeline + 1); + NormalPipeline = 0; break; case 0x29: @@ -1651,12 +1652,14 @@ void ExecuteCommand() // command that can run 8 cycles after a vertex if (VertexPipeline > 0) AddCycles(VertexPipeline + 1); else AddCycles(NormalPipeline + 1); + NormalPipeline = 0; break; default: // all other commands can run 4 cycles after a vertex // no need to do much here since that is the minimum AddCycles(NormalPipeline + 1); + NormalPipeline = 0; break; } } |