FPS: 0.7f for mobile and 0.5f for windows platform/rest

This commit is contained in:
raven02 2013-02-12 15:07:17 +08:00
parent 2c01b36585
commit a7f46351c8

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);