Skip to content

Commit

Permalink
opt for 3 digits of precision in the stats instead of 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
coornio committed Jan 13, 2025
1 parent d8f633e commit 0f45afe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/EmuHost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ const StrV EmuHost::getStats() const {

stats = std::format(
" :: MIPS:{:8.2f}\n"
"Time Since:{:9.4f} ms\n"
"Frame Work:{:9.4f} ms\n",
"Time Since:{:9.3f} ms\n"
"Frame Work:{:9.3f} ms\n",
iGuest->addCPF(static_cast<s32>(workCycleDelta))
* iGuest->getFramerate() / 1'000'000.0f,
Limiter->getElapsedMillisLast(), currentFrameTime
);
} else {
stats = std::format(
"Time Since:{:9.4f} ms\n"
"Frame Work:{:9.4f} ms\n",
"Time Since:{:9.3f} ms\n"
"Frame Work:{:9.3f} ms\n",
Limiter->getElapsedMillisLast(), currentFrameTime
);
}
Expand Down

0 comments on commit 0f45afe

Please sign in to comment.