diff --git a/Source/Core/VideoCommon/Src/VideoCommon.h b/Source/Core/VideoCommon/Src/VideoCommon.h index d22ba2eb17..b2e9a42f2f 100644 --- a/Source/Core/VideoCommon/Src/VideoCommon.h +++ b/Source/Core/VideoCommon/Src/VideoCommon.h @@ -182,7 +182,7 @@ inline u32 Z24ToZ16ToZ24(u32 src) } // returns the exponent of the smallest power of two which is greater than val -static unsigned int GetPow2(unsigned int val) +inline unsigned int GetPow2(unsigned int val) { unsigned int ret = 0; for (; val; val >>= 1)