mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
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:
@ -20,4 +20,5 @@
|
||||
#include "BPMemory.h"
|
||||
|
||||
//BP state
|
||||
// STATE_TO_SAVE
|
||||
BPMemory bpmem;
|
@ -19,6 +19,7 @@
|
||||
#include "CPMemory.h"
|
||||
|
||||
// CP state
|
||||
// STATE_TO_SAVE
|
||||
u32 arraybases[16];
|
||||
u32 arraystrides[16];
|
||||
TMatrixIndexA MatrixIndexA;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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];
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -17,5 +17,6 @@
|
||||
|
||||
#include "XFMemory.h"
|
||||
|
||||
// STATE_TO_SAVE
|
||||
XFRegisters xfregs;
|
||||
u32 xfmem[XFMEM_SIZE];
|
Reference in New Issue
Block a user