remove unused globals

Also change globals into statics which are only used in one file
This commit is contained in:
degasus 2014-07-08 22:37:58 +02:00
parent 81ed17be53
commit 7e79806efc
32 changed files with 28 additions and 21937 deletions

View file

@ -34,8 +34,9 @@
u8* g_pVideoData = nullptr;
bool g_bRecordFifoData = false;
typedef void (*DataReadU32xNfunc)(u32 *buf);
#if _M_SSE >= 0x301
DataReadU32xNfunc DataReadU32xFuncs_SSSE3[16] = {
static DataReadU32xNfunc DataReadU32xFuncs_SSSE3[16] = {
DataReadU32xN_SSSE3<1>,
DataReadU32xN_SSSE3<2>,
DataReadU32xN_SSSE3<3>,
@ -55,7 +56,7 @@ DataReadU32xNfunc DataReadU32xFuncs_SSSE3[16] = {
};
#endif
DataReadU32xNfunc DataReadU32xFuncs[16] = {
static DataReadU32xNfunc DataReadU32xFuncs[16] = {
DataReadU32xN<1>,
DataReadU32xN<2>,
DataReadU32xN<3>,