mirror of https://github.com/stella-emu/stella.git
Display speed in OSD without decimals.
This commit is contained in:
parent
b612d22364
commit
9aeb40fc32
|
@ -441,7 +441,7 @@ void FrameBuffer::drawFrameStats(float framesPerSecond)
|
||||||
ss
|
ss
|
||||||
<< std::fixed << std::setprecision(1) << framesPerSecond
|
<< std::fixed << std::setprecision(1) << framesPerSecond
|
||||||
<< "fps @ "
|
<< "fps @ "
|
||||||
<< std::fixed << std::setprecision(2) << 100 * myOSystem.settings().getFloat("speed")
|
<< std::fixed << std::setprecision(0) << 100 * myOSystem.settings().getFloat("speed")
|
||||||
<< "% speed";
|
<< "% speed";
|
||||||
|
|
||||||
myStatsMsg.surface->drawString(font(), ss.str(), xPos, yPos,
|
myStatsMsg.surface->drawString(font(), ss.str(), xPos, yPos,
|
||||||
|
|
Loading…
Reference in New Issue