mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
New SaveState folder for states. Removed some outdated code. Removed an unnecessary level of indirection for plugin calls. Assorted cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@389 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6b6003c563
commit
85565688d7
34 changed files with 329 additions and 672 deletions
|
@ -496,25 +496,6 @@ void VertexShaderMngr::SetProjection(float* _pProjection, int constantIndex)
|
|||
bProjectionChanged = true;
|
||||
}
|
||||
|
||||
size_t VertexShaderMngr::SaveLoadState(char *ptr, BOOL save)
|
||||
{
|
||||
BEGINSAVELOAD;
|
||||
|
||||
SAVELOAD(&xfregs,sizeof(xfregs));
|
||||
SAVELOAD(xfmem,XFMEM_SIZE*sizeof(u32));
|
||||
SAVELOAD(rawViewport,sizeof(rawViewport));
|
||||
SAVELOAD(rawProjection,sizeof(rawProjection));
|
||||
SAVELOAD(&MatrixIndexA,sizeof(TMatrixIndexA));
|
||||
SAVELOAD(&MatrixIndexB,sizeof(TMatrixIndexB));
|
||||
|
||||
if (!save) {
|
||||
// invalidate all
|
||||
InvalidateXFRange(0,0x1000);
|
||||
}
|
||||
|
||||
ENDSAVELOAD;
|
||||
}
|
||||
|
||||
// LoadXFReg 0x10
|
||||
void VertexShaderMngr::LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue