Fifo: Make SyncGPUReason an enum class

This commit is contained in:
Lioncash
2016-08-18 22:35:58 -04:00
parent 40f4308dc2
commit 5635d4b709
4 changed files with 15 additions and 15 deletions

View File

@ -51,7 +51,7 @@ void VideoBackendBase::Video_BeginField(u32 xfbAddr, u32 fbWidth, u32 fbStride,
{
if (m_initialized && g_ActiveConfig.bUseXFB && g_renderer)
{
Fifo::SyncGPU(Fifo::SYNC_GPU_SWAP);
Fifo::SyncGPU(Fifo::SyncGPUReason::Swap);
AsyncRequests::Event e;
e.time = 0;
@ -106,7 +106,7 @@ u32 VideoBackendBase::Video_GetQueryResult(PerfQueryType type)
return 0;
}
Fifo::SyncGPU(Fifo::SYNC_GPU_PERFQUERY);
Fifo::SyncGPU(Fifo::SyncGPUReason::PerfQuery);
AsyncRequests::Event e;
e.time = 0;
@ -133,7 +133,7 @@ u16 VideoBackendBase::Video_GetBoundingBox(int index)
return 0;
}
Fifo::SyncGPU(Fifo::SYNC_GPU_BBOX);
Fifo::SyncGPU(Fifo::SyncGPUReason::BBox);
AsyncRequests::Event e;
u16 result;