diff --git a/Source/Core/VideoCommon/BPMemory.h b/Source/Core/VideoCommon/BPMemory.h index d46a927370..d8d1f230b8 100644 --- a/Source/Core/VideoCommon/BPMemory.h +++ b/Source/Core/VideoCommon/BPMemory.h @@ -928,7 +928,7 @@ union AlphaTest PASS = 2, }; - inline TEST_RESULT TestResult() const + __forceinline TEST_RESULT TestResult() const { switch (logic) { diff --git a/Source/Core/VideoCommon/ShaderGenCommon.h b/Source/Core/VideoCommon/ShaderGenCommon.h index 4f97865d54..527beeb725 100644 --- a/Source/Core/VideoCommon/ShaderGenCommon.h +++ b/Source/Core/VideoCommon/ShaderGenCommon.h @@ -30,7 +30,8 @@ public: * Can be used like printf. * @note In the ShaderCode implementation, this does indeed write the parameter string to an internal buffer. However, you're free to do whatever you like with the parameter. */ - void Write(const char* fmt, ...) {} + template + void Write(const char*, Args...) {} /* * Returns a read pointer to the internal buffer.