mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VideoBackendBase: Convert EFBAccessType into an enum class
This commit is contained in:
parent
a2caa0d733
commit
5b461f50af
12 changed files with 75 additions and 53 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue