diff options
| author | degasus <wickmarkus@web.de> | 2014-07-08 22:37:58 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-07-11 16:10:20 +0200 |
| commit | 7e79806efcd5c5e41efea89fa385b480ac1882f5 (patch) | |
| tree | 57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | 81ed17be53e7fed93147dc0d334a6c1d45f4e3c8 (diff) | |
remove unused globals
Also change globals into statics which are only used in one file
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OpcodeDecoding.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp index 8b42a20367..4dc80f8c3e 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp @@ -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>, |
