diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-08-06 20:23:53 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-08-06 20:23:53 +0000 |
| commit | 84b3522c242f77999972b365ac3254d4af88e7fe (patch) | |
| tree | 4c73582f6827dee69aab8f0921d6c8d0a24fb4ba /Source/Core/VideoCommon/Src/TextureDecoder.cpp | |
| parent | 9dc48651a7a4928d1d7d9f7ec17dbbf8bb3ddb38 (diff) | |
Fix build on linux (grr), minor ABI fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@142 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureDecoder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index 1d5f0b7754..21b20c8a14 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -462,7 +462,6 @@ extern unsigned char data_raw[]; PC_TexFormat TexDecoder_Decode(u8 *dst, u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt)
{
-
PC_TexFormat retval = TexDecoder_Decode_real(dst,src,width,height,texformat,tlutaddr,tlutfmt);
if((!TexFmt_Overlay_Enable)/*||(retval==PC_TEX_FMT_NONE)*/)
@@ -504,7 +503,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, u8 *src, int width, int height, int texf return retval;
}
-static unsigned char data_raw[] = {
+unsigned char data_raw[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
@@ -2606,4 +2605,5 @@ static unsigned char data_raw[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
};
-#endif
\ No newline at end of file +#endif
+
|
