Merge pull request #665 from raven02/master

FPS: 0.7f for mobile and 0.5f for windows platform/rest
This commit is contained in:
Henrik Rydgård committed 2013-02-11 23:55:17 -08:00
commit 12094818ba
1 file changed
+7 -2
+7 -2
View File
@@ -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);