forums.PPSSPP.org
Speed Counter - Printable Version

+- forums.PPSSPP.org (https://forums.ppsspp.org)
+-- Forum: PPSSPP - Playstation Portable Simulator Suitable for Playing Portably (/forumdisplay.php?fid=1)
+--- Forum: Development (/forumdisplay.php?fid=3)
+--- Thread: Speed Counter (/showthread.php?tid=5128)

Pages: 1 2


Speed Counter - GuilhermeGS2 - 07-28-2013 03:02 AM

I saw that in recent builds the speed counter is in percent, but I prefer the old counter, VPS. Would be possible put a option to select percent or VPS? Thanks Smile


RE: Speed Counter - TheDax - 07-28-2013 03:04 AM

You're not the only one.

https://github.com/hrydgard/ppsspp/issues/2959


RE: Speed Counter - GuilhermeGS2 - 07-28-2013 03:26 AM

Um, nice, I'm not the only one Smile


RE: Speed Counter - Gurlok - 07-28-2013 07:54 AM

Usually I don't like bitching, But I have to agree here.


RE: Speed Counter - GuilhermeGS2 - 07-28-2013 04:49 PM

I think it will be better in Development.

Moving.


RE: Speed Counter - solarmystic - 07-28-2013 06:14 PM

If you're self compiling PPSSPP (which you should if you're a serious tester and developer), you can revert the changes by opening the project in your favourite C++ compiler program (e.g. Visual Studio C++ 2010/2012) and changing the following two lines located in UI\Screens\EmuScreen.cpp:-

Line 527 from
Code:
sprintf(fpsbuf, "Speed: %0.1f%%", vps / 60.0f * 100.0f); break;

to
Code:
sprintf(fpsbuf, "Speed: %0.1f", vps); break;

and Line 531 from
Code:
sprintf(fpsbuf, "Speed: %0.1f%%\nFPS: %0.1f", vps / 60.0f * 100.0f, fps); break;

to
Code:
sprintf(fpsbuf, "Speed: %5.1f\nFPS: %0.1f", vps, fps); break;



RE: Speed Counter - GuilhermeGS2 - 07-28-2013 07:58 PM

Sorry, I'm not developer. But I will be one day Smile


RE: Speed Counter - The Phoenix - 07-28-2013 09:02 PM

(07-28-2013 06:14 PM)solarmystic Wrote:  If you're self compiling PPSSPP (which you should if you're a serious tester and developer), you can revert the changes by opening the project in your favourite C++ compiler program (e.g. Visual Studio C++ 2010/2012) and changing the following two lines located in UI\Screens\EmuScreen.cpp:-

Line 527 from
Code:
sprintf(fpsbuf, "Speed: %0.1f%%", vps / 60.0f * 100.0f); break;

to
Code:
sprintf(fpsbuf, "Speed: %0.1f", vps); break;

and Line 531 from
Code:
sprintf(fpsbuf, "Speed: %0.1f%%\nFPS: %0.1f", vps / 60.0f * 100.0f, fps); break;

to
Code:
sprintf(fpsbuf, "Speed: %5.1f\nFPS: %0.1f", vps, fps); break;
Personally I would wait until the developers see fit to revert this or implement a toggle of on/off (Show percentage of speed).
Because obviously they are updating this emulator on a daily basis, & I do not want to have to correct every version myself, too much hassle to be honest.

BUT THANKS FOR THIS INFO anyway.
I can't code to save my life, only a bit of Z80 assembly language & that was hard enough to understand.


RE: Speed Counter - GuilhermeGS2 - 07-28-2013 09:50 PM

(07-28-2013 09:02 PM)The Phoenix Wrote:  
(07-28-2013 06:14 PM)solarmystic Wrote:  If you're self compiling PPSSPP (which you should if you're a serious tester and developer), you can revert the changes by opening the project in your favourite C++ compiler program (e.g. Visual Studio C++ 2010/2012) and changing the following two lines located in UI\Screens\EmuScreen.cpp:-

Line 527 from
Code:
sprintf(fpsbuf, "Speed: %0.1f%%", vps / 60.0f * 100.0f); break;

to
Code:
sprintf(fpsbuf, "Speed: %0.1f", vps); break;

and Line 531 from
Code:
sprintf(fpsbuf, "Speed: %0.1f%%\nFPS: %0.1f", vps / 60.0f * 100.0f, fps); break;

to
Code:
sprintf(fpsbuf, "Speed: %5.1f\nFPS: %0.1f", vps, fps); break;
Personally I would wait until the developers see fit to revert this or implement a toggle of on/off (Show percentage of speed).
Because obviously they are updating this emulator on a daily basis, & I do not want to have to correct every version myself, too much hassle to be honest.

BUT THANKS FOR THIS INFO anyway.
I can't code to save my life, only a bit of Z80 assembly language & that was hard enough to understand.

I agree with you. And if I knew C++, with sure, I was helping in this great project: PPSSPP Smile.


RE: Speed Counter - TheDax - 07-28-2013 10:16 PM

https://github.com/hrydgard/ppsspp/pull/2969


RE: Speed Counter - The Phoenix - 07-28-2013 10:23 PM

(07-28-2013 10:16 PM)daxtsu Wrote:  https://github.com/hrydgard/ppsspp/pull/2969
Oh WOW I love your work, keep it up my friend.


RE: Speed Counter - GuilhermeGS2 - 07-28-2013 10:33 PM

Thanks, man.


RE: Speed Counter - TheDax - 07-28-2013 11:13 PM

It'll have a new win32 menu as well, if it gets pushed:
[Image: iO0ELXU0DAnuj.png]


RE: Speed Counter - GuilhermeGS2 - 07-28-2013 11:23 PM

When it will come to buildbot?


RE: Speed Counter - TheDax - 07-28-2013 11:23 PM

Hopefully today or tomorrow. Depends on if Henrik approves it or not.