mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Add Blackberry statistics overlay option.
This commit is contained in:
1 parent
f2e6939745
commit
d616cc72a2
4 files changed
+8
-4
No files matched your search
@@ -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
@@ -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);
|
||||
|
||||
@@ -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.
Reference in new issue
Block a user