mirror of https://github.com/stella-emu/stella.git
minor fix for unwind/rewind display string
This commit is contained in:
parent
e7b0fcc45c
commit
a3c862900d
|
@ -393,7 +393,10 @@ string RewindManager::loadState(Int64 startCycles, uInt32 numStates)
|
||||||
const Int64 diff = startCycles - state.cycles;
|
const Int64 diff = startCycles - state.cycles;
|
||||||
stringstream message;
|
stringstream message;
|
||||||
|
|
||||||
message << (diff >= 0 ? "Rewind" : "Unwind") << " " << getUnitString(diff);
|
if(diff)
|
||||||
|
message << (diff > 0 ? "Rewind" : "Unwind") << " " << getUnitString(diff);
|
||||||
|
else
|
||||||
|
message << "No wind";
|
||||||
message << " [" << myStateList.currentIdx() << "/" << myStateList.size() << "]";
|
message << " [" << myStateList.currentIdx() << "/" << myStateList.size() << "]";
|
||||||
|
|
||||||
// add optional message
|
// add optional message
|
||||||
|
|
Loading…
Reference in New Issue