mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Merge pull request #665 from raven02/master
FPS: 0.7f for mobile and 0.5f for windows platform/rest
This commit is contained in:
commit
12094818ba
1 file changed
+7
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user