Display speed in OSD without decimals.

This commit is contained in:
Christian Speckner 2018-07-30 23:40:48 +02:00
parent b612d22364
commit 9aeb40fc32
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ void FrameBuffer::drawFrameStats(float framesPerSecond)
ss
<< std::fixed << std::setprecision(1) << framesPerSecond
<< "fps @ "
<< std::fixed << std::setprecision(2) << 100 * myOSystem.settings().getFloat("speed")
<< std::fixed << std::setprecision(0) << 100 * myOSystem.settings().getFloat("speed")
<< "% speed";
myStatsMsg.surface->drawString(font(), ss.str(), xPos, yPos,