mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Fifo: Make SyncGPUReason an enum class
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user