mirror of https://github.com/stella-emu/stella.git
fix crash when TM is disabled
This commit is contained in:
parent
98cb5a4ecd
commit
7b56497963
|
@ -223,6 +223,9 @@ uInt32 RewindManager::windStates(uInt32 numStates, bool unwind)
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
string RewindManager::saveAllStates()
|
||||
{
|
||||
if (getLastIdx() == 0)
|
||||
return "Nothing to save";
|
||||
|
||||
try
|
||||
{
|
||||
ostringstream buf;
|
||||
|
|
Loading…
Reference in New Issue