From 9aeb40fc32f217b5948d2bc95cab8979dabfd79b Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Mon, 30 Jul 2018 23:40:48 +0200 Subject: [PATCH] Display speed in OSD without decimals. --- src/emucore/FrameBuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/FrameBuffer.cxx b/src/emucore/FrameBuffer.cxx index e8daa2da1..fe73012ca 100644 --- a/src/emucore/FrameBuffer.cxx +++ b/src/emucore/FrameBuffer.cxx @@ -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,