diff options
| author | degasus <wickmarkus@web.de> | 2015-10-09 20:50:36 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-01-06 22:10:29 +0100 |
| commit | efbe5bc4b651d1f7f726bb064255e0e2562f7490 (patch) | |
| tree | 6166a471269a9b1eb2bf703a31c915489e428b44 /Source/Core/VideoBackends/Software/SetupUnit.cpp | |
| parent | 7fcb5a803b2e6179fe57654496fcea7f6b2ff183 (diff) | |
VideoSW: Use more VideoCommon
Now we require lots of empty functions, but this removes by far more duplicated code.
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]; - }*/ -} |
