VideoBackendBase: Convert EFBAccessType into an enum class

This commit is contained in:
Lioncash
2017-01-23 02:51:46 -05:00
parent a2caa0d733
commit 5b461f50af
12 changed files with 75 additions and 53 deletions

View File

@ -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);