Add Blackberry statistics overlay option.
This commit is contained in:
parent
f2e6939745
commit
d616cc72a2
4 changed files with 8 additions and 4 deletions
|
@ -533,7 +533,7 @@ void hleEnterVblank(u64 userdata, int cyclesLate) {
|
||||||
// non-buffered rendering. The interaction with frame skipping seems to need
|
// non-buffered rendering. The interaction with frame skipping seems to need
|
||||||
// some work.
|
// some work.
|
||||||
if (gpu->FramebufferDirty()) {
|
if (gpu->FramebufferDirty()) {
|
||||||
if (g_Config.iShowFPSCounter) {
|
if (g_Config.iShowFPSCounter && g_Config.iShowFPSCounter < 4) {
|
||||||
CalculateFPS();
|
CalculateFPS();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ namespace Reporting
|
||||||
postdata.Add("pixel_height", PSP_CoreParameter().pixelHeight);
|
postdata.Add("pixel_height", PSP_CoreParameter().pixelHeight);
|
||||||
postdata.Add("ticks", (const uint64_t)CoreTiming::GetTicks());
|
postdata.Add("ticks", (const uint64_t)CoreTiming::GetTicks());
|
||||||
|
|
||||||
if (g_Config.iShowFPSCounter)
|
if (g_Config.iShowFPSCounter && g_Config.iShowFPSCounter < 4)
|
||||||
{
|
{
|
||||||
float vps, fps;
|
float vps, fps;
|
||||||
__DisplayGetAveragedFPS(&vps, &fps);
|
__DisplayGetAveragedFPS(&vps, &fps);
|
||||||
|
|
|
@ -168,7 +168,11 @@ void GameSettingsScreen::CreateViews() {
|
||||||
prescale->SetEnabled(false);
|
prescale->SetEnabled(false);
|
||||||
|
|
||||||
graphicsSettings->Add(new ItemHeader(gs->T("Overlay Information")));
|
graphicsSettings->Add(new ItemHeader(gs->T("Overlay Information")));
|
||||||
static const char *fpsChoices[] = {"None", "Speed", "FPS", "Both"};
|
static const char *fpsChoices[] = {"None", "Speed", "FPS", "Both"
|
||||||
|
#ifdef BLACKBERRY
|
||||||
|
, "Statistics"
|
||||||
|
#endif
|
||||||
|
};
|
||||||
graphicsSettings->Add(new PopupMultiChoice(&g_Config.iShowFPSCounter, gs->T("Show FPS Counter"), fpsChoices, 0, ARRAY_SIZE(fpsChoices), gs, screenManager()));
|
graphicsSettings->Add(new PopupMultiChoice(&g_Config.iShowFPSCounter, gs->T("Show FPS Counter"), fpsChoices, 0, ARRAY_SIZE(fpsChoices), gs, screenManager()));
|
||||||
graphicsSettings->Add(new CheckBox(&g_Config.bShowDebugStats, gs->T("Show Debug Statistics")));
|
graphicsSettings->Add(new CheckBox(&g_Config.bShowDebugStats, gs->T("Show Debug Statistics")));
|
||||||
|
|
||||||
|
|
2
native
2
native
|
@ -1 +1 @@
|
||||||
Subproject commit f0819f14a4e69f154703ef0093375c387e0b1e95
|
Subproject commit 11e62f7f3aac0bbbcd7e8ebb6d7e8bdb1d9e721f
|
Loading…
Add table
Add a link
Reference in a new issue