Add Blackberry statistics overlay option.

This commit is contained in:
Sacha committed 2013-10-28 14:19:27 +10:00
1 parent f2e6939745
commit d616cc72a2
4 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -533,7 +533,7 @@ void hleEnterVblank(u64 userdata, int cyclesLate) {
// non-buffered rendering. The interaction with frame skipping seems to need
// some work.
if (gpu->FramebufferDirty()) {
if (g_Config.iShowFPSCounter) {
if (g_Config.iShowFPSCounter && g_Config.iShowFPSCounter < 4) {
CalculateFPS();
}
+1 -1
View File
@@ -209,7 +209,7 @@ namespace Reporting
postdata.Add("pixel_height", PSP_CoreParameter().pixelHeight);
postdata.Add("ticks", (const uint64_t)CoreTiming::GetTicks());
if (g_Config.iShowFPSCounter)
if (g_Config.iShowFPSCounter && g_Config.iShowFPSCounter < 4)
{
float vps, fps;
__DisplayGetAveragedFPS(&vps, &fps);
+5 -1
View File
@@ -168,7 +168,11 @@ void GameSettingsScreen::CreateViews() {
prescale->SetEnabled(false);
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 CheckBox(&g_Config.bShowDebugStats, gs->T("Show Debug Statistics")));
+1 -1
Submodule native updated: f0819f14a4...11e62f7f3a.