Fixed texture overlay, clarified CPMemory STATE_TO_SAVE

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2614 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-03-08 01:19:33 +00:00
parent 530bf463d7
commit 148934ff99
2 changed files with 2 additions and 3 deletions

View File

@ -19,9 +19,10 @@
#include "CPMemory.h"
// CP state
u8 *cached_arraybases[16];
// STATE_TO_SAVE
u32 arraybases[16];
u8 *cached_arraybases[16];
u32 arraystrides[16];
TMatrixIndexA MatrixIndexA;
TMatrixIndexB MatrixIndexB;

View File

@ -468,10 +468,8 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
void TexDecoder_SetTexFmtOverlayOptions(bool enable, bool center)
{
#ifdef OVERLAY_TEXFMT
TexFmt_Overlay_Enable = enable;
TexFmt_Overlay_Center = center;
#endif
}
PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt)