Fix a type comparison warning.

This commit is contained in:
Unknown W. Brackets 2014-05-21 08:00:31 -07:00
parent 29bd4b63e4
commit 288d867588
2 changed files with 2 additions and 4 deletions

View file

@ -390,9 +390,9 @@ bool __GeTriggerWait(WaitType waitType, SceUID waitId, WaitingThreadList &waitin
bool __GeTriggerWait(GPUSyncType type, SceUID waitId)
{
// We check for the old type for old savestate compatibility.
if (type == GPU_SYNC_DRAW || type == WAITTYPE_GEDRAWSYNC)
if (type == GPU_SYNC_DRAW || (WaitType)type == WAITTYPE_GEDRAWSYNC)
return __GeTriggerWait(WAITTYPE_GEDRAWSYNC, waitId, drawWaitingThreads);
else if (type == GPU_SYNC_LIST || type == WAITTYPE_GELISTSYNC)
else if (type == GPU_SYNC_LIST || (WaitType)type == WAITTYPE_GELISTSYNC)
return __GeTriggerWait(WAITTYPE_GELISTSYNC, waitId, listWaitingThreads[waitId]);
else
ERROR_LOG_REPORT(SCEGE, "__GeTriggerWait: bad wait type");

View file

@ -15,8 +15,6 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#pragma once
#include "Core/Config.h"
#include "Core/Debugger/Breakpoints.h"
#include "Core/MemMap.h"