mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fix some warnings.
This commit is contained in:
@ -102,7 +102,7 @@ void STACKALIGN CheckGatherPipe()
|
|||||||
{
|
{
|
||||||
// Log only stores, fp stores and ps stores, filtering out other instructions arrived via optimizeGatherPipe
|
// Log only stores, fp stores and ps stores, filtering out other instructions arrived via optimizeGatherPipe
|
||||||
int type = GetOpInfo(Memory::ReadUnchecked_U32(PC))->type;
|
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);
|
jit->js.fifoWriteAddresses.insert(PC);
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ void RunGpu()
|
|||||||
FPURoundMode::SaveSIMDState();
|
FPURoundMode::SaveSIMDState();
|
||||||
FPURoundMode::LoadDefaultSIMDState();
|
FPURoundMode::LoadDefaultSIMDState();
|
||||||
ReadDataFromFifo(uData, 32);
|
ReadDataFromFifo(uData, 32);
|
||||||
u32 count = OpcodeDecoder_Run(g_bSkipCurrentFrame);
|
OpcodeDecoder_Run(g_bSkipCurrentFrame);
|
||||||
FPURoundMode::LoadSIMDState();
|
FPURoundMode::LoadSIMDState();
|
||||||
|
|
||||||
//DEBUG_LOG(COMMANDPROCESSOR, "Fifo wraps to base");
|
//DEBUG_LOG(COMMANDPROCESSOR, "Fifo wraps to base");
|
||||||
|
@ -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_FBO_ERROR() OpenGL_ReportFBOError(__FUNCTION__, __FILE__, __LINE__)
|
||||||
#define GL_REPORT_PROGRAM_ERROR() OpenGL_ReportARBProgramError()
|
#define GL_REPORT_PROGRAM_ERROR() OpenGL_ReportARBProgramError()
|
||||||
#else
|
#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_ERRORD() (void)GL_NO_ERROR
|
||||||
#define GL_REPORT_FBO_ERROR() (void)true
|
#define GL_REPORT_FBO_ERROR() (void)true
|
||||||
#define GL_REPORT_PROGRAM_ERROR() (void)0
|
#define GL_REPORT_PROGRAM_ERROR() (void)0
|
||||||
|
Reference in New Issue
Block a user