mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoBackendBase: Convert EFBAccessType into an enum class
This commit is contained in:
@ -148,12 +148,12 @@ u32 SWRenderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 InputData)
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case PEEK_Z:
|
||||
case EFBAccessType::PeekZ:
|
||||
{
|
||||
value = EfbInterface::GetDepth(x, y);
|
||||
break;
|
||||
}
|
||||
case PEEK_COLOR:
|
||||
case EFBAccessType::PeekColor:
|
||||
{
|
||||
const u32 color = EfbInterface::GetColor(x, y);
|
||||
|
||||
|
Reference in New Issue
Block a user