mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix a type comparison warning.
This commit is contained in:
parent
29bd4b63e4
commit
288d867588
2 changed files with 2 additions and 4 deletions
|
@ -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");
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue