summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder.h
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-07-08 16:49:33 +0200
committerdegasus <wickmarkus@web.de>2014-07-11 16:10:20 +0200
commit81ed17be53e7fed93147dc0d334a6c1d45f4e3c8 (patch)
tree07359f88512c0cdd7c362152cbd5a81c1816e0c0 /Source/Core/VideoCommon/TextureDecoder.h
parent6d3f249dcc746cc7845ef88ddb8ce3bcc9221aca (diff)
avoid the extern keyword in .cpp files
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder.h')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder.h b/Source/Core/VideoCommon/TextureDecoder.h
index 284b992f45..45925f7aaf 100644
--- a/Source/Core/VideoCommon/TextureDecoder.h
+++ b/Source/Core/VideoCommon/TextureDecoder.h
@@ -52,6 +52,10 @@ enum TextureFormat
GX_CTF_Z16L = 0xC | _GX_TF_ZTF | _GX_TF_CTF,
};
+extern const char* texfmt[];
+extern const unsigned char sfont_map[];
+extern const unsigned char sfont_raw[][9*10];
+
int TexDecoder_GetTexelSizeInNibbles(int format);
int TexDecoder_GetTextureSizeInBytes(int width, int height, int format);
int TexDecoder_GetBlockWidthInTexels(u32 format);