From 148934ff99b446a14ef66dfa3d101ca9d7942f1d Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Sun, 8 Mar 2009 01:19:33 +0000 Subject: [PATCH] Fixed texture overlay, clarified CPMemory STATE_TO_SAVE git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2614 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/CPMemory.cpp | 3 ++- Source/Core/VideoCommon/Src/TextureDecoder.cpp | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/VideoCommon/Src/CPMemory.cpp b/Source/Core/VideoCommon/Src/CPMemory.cpp index a51c2d1454..84d0d2d556 100644 --- a/Source/Core/VideoCommon/Src/CPMemory.cpp +++ b/Source/Core/VideoCommon/Src/CPMemory.cpp @@ -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; diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index e161cf5b08..6cb4e42237 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -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)