diff options
Diffstat (limited to 'Source/Core/VideoBackends/Software/SetupUnit.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SetupUnit.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/Source/Core/VideoBackends/Software/SetupUnit.cpp b/Source/Core/VideoBackends/Software/SetupUnit.cpp index e433ae17f0..a9ef985963 100644 --- a/Source/Core/VideoBackends/Software/SetupUnit.cpp +++ b/Source/Core/VideoBackends/Software/SetupUnit.cpp @@ -4,11 +4,9 @@ #include "Common/ChunkFile.h" #include "VideoBackends/Software/Clipper.h" -#include "VideoBackends/Software/CPMemLoader.h" -#include "VideoBackends/Software/OpcodeDecoder.h" #include "VideoBackends/Software/SetupUnit.h" -#include "VideoBackends/Software/SWStatistics.h" +#include "VideoCommon/OpcodeDecoding.h" void SetupUnit::Init(u8 primitiveType) { @@ -167,20 +165,3 @@ void SetupUnit::SetupLineStrip() void SetupUnit::SetupPoint() {} -void SetupUnit::DoState(PointerWrap &p) -{ - // TODO: some or all of this is making the save states stop working once Dolphin is closed...sometimes (usually) - // I have no idea what specifically is wrong, or if this is even important. Disabling it doesn't seem to make any noticible difference... -/* p.Do(m_PrimType); - p.Do(m_VertexCounter); - for (int i = 0; i < 3; ++i) - m_Vertices[i].DoState(p); - - if (p.GetMode() == PointerWrap::MODE_READ) - { - m_VertPointer[0] = &m_Vertices[0]; - m_VertPointer[1] = &m_Vertices[1]; - m_VertPointer[2] = &m_Vertices[2]; - m_VertWritePointer = m_VertPointer[0]; - }*/ -} |
