SaveState preparations #1 - Annotate all(?) state. (NO SCHEDULE PROMISE!)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@257 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-08-21 18:23:10 +00:00
parent 92031705cd
commit 9e3747e2f3
28 changed files with 71 additions and 80 deletions

View File

@ -20,4 +20,5 @@
#include "BPMemory.h"
//BP state
// STATE_TO_SAVE
BPMemory bpmem;

View File

@ -19,6 +19,7 @@
#include "CPMemory.h"
// CP state
// STATE_TO_SAVE
u32 arraybases[16];
u32 arraystrides[16];
TMatrixIndexA MatrixIndexA;

View File

@ -26,9 +26,9 @@
#define FIFO_SIZE (1024*1024)
// STATE_TO_SAVE
FifoReader fifo;
static u8 *videoBuffer;
static int size = 0;
static int readptr = 0;

View File

@ -37,7 +37,7 @@ void InitLUTs()
lut6to8[i] = (i*255) / 63;
for (int i = 0; i < 256; i++)
{
lutu8tosfloat[i] = (float)(i-128) / 127.0f;
lutu8tosfloat[i] = (float)(i - 128) / 127.0f;
lutu8toufloat[i] = (float)(i) / 255.0f;
luts8tosfloat[i] = ((float)(signed char)(char)i) / 127.0f;
}

View File

@ -20,7 +20,7 @@
#include "TextureDecoder.h"
#include "LookUpTables.h"
//Uncomment this to enable Texure Format ID overlays
//Uncomment this to enable Texture Format ID overlays
#define OVERLAY_TEXFMT
#ifdef OVERLAY_TEXFMT
@ -29,6 +29,7 @@ bool TexFmt_Overlay_Center=false;
#endif
// TRAM
// STATE_TO_SAVE
u8 texMem[TMEM_SIZE];
//////////////////////////////////////////////////////////////////////////

View File

@ -17,5 +17,6 @@
#include "XFMemory.h"
// STATE_TO_SAVE
XFRegisters xfregs;
u32 xfmem[XFMEM_SIZE];