mirror of https://github.com/stella-emu/stella.git
minor fix for unwind/rewind display string
This commit is contained in:
parent
b71573f1f6
commit
5f1f90260c
|
@ -393,7 +393,10 @@ string RewindManager::loadState(Int64 startCycles, uInt32 numStates)
|
|||
const Int64 diff = startCycles - state.cycles;
|
||||
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() << "]";
|
||||
|
||||
// add optional message
|
||||
|
|
Loading…
Reference in New Issue