diff options
| author | comex <comexk@gmail.com> | 2014-08-27 13:26:06 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-09-28 21:23:29 -0400 |
| commit | f0131c2e09faba0d65fa5b7360898e514e3636f5 (patch) | |
| tree | 3715ecd44ad120b0667967115962cf036fcadd47 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 90638c6806ac2c92b211e41b2abd257b4266f488 (diff) | |
Mechanical changes to move most CP state to a struct rather than separate globals.
The next commit will add a separate copy of the struct and the ability
for LoadCPReg to work on it.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 25d9e0d543..9063cece5e 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -116,14 +116,7 @@ void VideoSoftware::DoState(PointerWrap& p) p.DoPOD(swstats); // CP Memory - p.DoArray(arraybases, 16); - p.DoArray(arraystrides, 16); - p.Do(MatrixIndexA); - p.Do(MatrixIndexB); - p.Do(g_VtxDesc.Hex); - p.DoArray(g_VtxAttr, 8); - p.DoMarker("CP Memory"); - + DoCPState(p); } void VideoSoftware::CheckInvalidState() |
