Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some warnings.
  • Loading branch information
jordan-woyak committed Mar 16, 2013
1 parent 4a929f8 commit 98fa500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/HW/GPFifo.cpp
Expand Up @@ -102,7 +102,7 @@ void STACKALIGN CheckGatherPipe()
{
// Log only stores, fp stores and ps stores, filtering out other instructions arrived via optimizeGatherPipe
int type = GetOpInfo(Memory::ReadUnchecked_U32(PC))->type;
if (type == OPTYPE_STORE || type == OPTYPE_STOREFP || (type == OPTYPE_PS && GetOpInfo(Memory::ReadUnchecked_U32(PC))->opname=="psq_st"))
if (type == OPTYPE_STORE || type == OPTYPE_STOREFP || (type == OPTYPE_PS && !strcmp(GetOpInfo(Memory::ReadUnchecked_U32(PC))->opname, "psq_st")))
{
jit->js.fifoWriteAddresses.insert(PC);

Expand Down
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/Fifo.cpp
Expand Up @@ -244,7 +244,7 @@ void RunGpu()
FPURoundMode::SaveSIMDState();
FPURoundMode::LoadDefaultSIMDState();
ReadDataFromFifo(uData, 32);
u32 count = OpcodeDecoder_Run(g_bSkipCurrentFrame);
OpcodeDecoder_Run(g_bSkipCurrentFrame);
FPURoundMode::LoadSIMDState();

//DEBUG_LOG(COMMANDPROCESSOR, "Fifo wraps to base");
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h
Expand Up @@ -63,7 +63,7 @@ bool OpenGL_ReportFBOError(const char *function, const char *file, int line);
#define GL_REPORT_FBO_ERROR() OpenGL_ReportFBOError(__FUNCTION__, __FILE__, __LINE__)
#define GL_REPORT_PROGRAM_ERROR() OpenGL_ReportARBProgramError()
#else
#define GL_REPORT_ERROR() GL_NO_ERROR
__forceinline GLenum GL_REPORT_ERROR() { return GL_NO_ERROR; }
#define GL_REPORT_ERRORD() (void)GL_NO_ERROR
#define GL_REPORT_FBO_ERROR() (void)true
#define GL_REPORT_PROGRAM_ERROR() (void)0
Expand Down

0 comments on commit 98fa500

Please sign in to comment.