From a7f46351c8c3d4c18c0e9b3bc78a537cdfce5811 Mon Sep 17 00:00:00 2001 From: raven02 Date: Tue, 12 Feb 2013 15:07:17 +0800 Subject: [PATCH] FPS: 0.7f for mobile and 0.5f for windows platform/rest --- Core/HLE/sceDisplay.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceDisplay.cpp b/Core/HLE/sceDisplay.cpp index 5f6cada894..e7bb29ce4d 100644 --- a/Core/HLE/sceDisplay.cpp +++ b/Core/HLE/sceDisplay.cpp @@ -299,8 +299,13 @@ void hleEnterVblank(u64 userdata, int cyclesLate) { sprintf(stats, "%0.1f", calculateFPS()); - float zoom = 0.7f; /// g_Config.iWindowZoom; - float soff = 0.7f; + #ifdef USING_GLES2 + float zoom = 0.7f; /// g_Config.iWindowZoom; + float soff = 0.7f; + #else + float zoom = 0.5f; /// g_Config.iWindowZoom; + float soff = 0.5f; + #endif PPGeBegin(); PPGeDrawText(stats, 476 + soff, 4 + soff, PPGE_ALIGN_RIGHT, zoom, 0xCC000000); PPGeDrawText(stats, 476 + -soff, 4 -soff, PPGE_ALIGN_RIGHT, zoom, 0xCC000000);