VideoCommon/Statistics: Normalize statistic variable names
Normalizes all variables related to statistics so that they follow our coding style. These are relatively low traffic areas, so this modification isn't too noisy.
This commit is contained in:
1 parent
0a7395bfba
commit
a99c7d01e1
19 files changed
+169
-163
No files matched your search
@@ -117,7 +117,7 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
|
||||
{
|
||||
case Event::EFB_POKE_COLOR:
|
||||
{
|
||||
INCSTAT(stats.thisFrame.numEFBPokes);
|
||||
INCSTAT(stats.this_frame.num_efb_pokes);
|
||||
EfbPokeData poke = {e.efb_poke.x, e.efb_poke.y, e.efb_poke.data};
|
||||
g_renderer->PokeEFB(EFBAccessType::PokeColor, &poke, 1);
|
||||
}
|
||||
@@ -125,20 +125,20 @@ void AsyncRequests::HandleEvent(const AsyncRequests::Event& e)
|
||||
|
||||
case Event::EFB_POKE_Z:
|
||||
{
|
||||
INCSTAT(stats.thisFrame.numEFBPokes);
|
||||
INCSTAT(stats.this_frame.num_efb_pokes);
|
||||
EfbPokeData poke = {e.efb_poke.x, e.efb_poke.y, e.efb_poke.data};
|
||||
g_renderer->PokeEFB(EFBAccessType::PokeZ, &poke, 1);
|
||||
}
|
||||
break;
|
||||
|
||||
case Event::EFB_PEEK_COLOR:
|
||||
INCSTAT(stats.thisFrame.numEFBPeeks);
|
||||
INCSTAT(stats.this_frame.num_efb_peeks);
|
||||
*e.efb_peek.data =
|
||||
g_renderer->AccessEFB(EFBAccessType::PeekColor, e.efb_peek.x, e.efb_peek.y, 0);
|
||||
break;
|
||||
|
||||
case Event::EFB_PEEK_Z:
|
||||
INCSTAT(stats.thisFrame.numEFBPeeks);
|
||||
INCSTAT(stats.this_frame.num_efb_peeks);
|
||||
*e.efb_peek.data = g_renderer->AccessEFB(EFBAccessType::PeekZ, e.efb_peek.x, e.efb_peek.y, 0);
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user