mirror of https://github.com/stella-emu/stella.git
Change speed units to %.
This commit is contained in:
parent
4f48efc350
commit
03e2c275b7
|
@ -65,9 +65,9 @@ namespace {
|
|||
stringstream ss;
|
||||
|
||||
ss
|
||||
<< (speed >= 0 ? "x " : "/ ")
|
||||
<< std::setw(4) << std::fixed << std::setprecision(2)
|
||||
<< (1 + static_cast<float>(speed < 0 ? -speed : speed) / 100);
|
||||
<< (unmapSpeed(speed) * 100)
|
||||
<< "%";
|
||||
|
||||
return ss.str();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue