make new from savestate and saveram work again

broke with 8956657a34 I'm assuming. Notably this will now no longer copy the current settings over, but that might actually be more consistent with the behavior of the normal new option, so...
This commit is contained in:
Morilli 2024-09-26 22:34:30 +02:00
parent 8f497d44f4
commit 5504deb73f
1 changed files with 0 additions and 6 deletions

View File

@ -96,7 +96,6 @@ namespace BizHawk.Client.Common
// States can't be easily moved over, because they contain the frame number.
// TODO? I'm not sure how this would be done.
old.TasStateManager.Clear();
// Lag Log
tas.LagLog.FromLagLog(old.LagLog);
@ -128,8 +127,6 @@ namespace BizHawk.Client.Common
}
}
tas.TasStateManager.UpdateSettings(old.TasStateManager.Settings);
tas.Save();
return tas;
}
@ -140,7 +137,6 @@ namespace BizHawk.Client.Common
var tas = (ITasMovie)old.Session.Get(newFilename);
tas.SaveRam = saveRam;
tas.TasStateManager.Clear();
tas.LagLog.Clear();
var entries = old.GetLogEntries();
@ -166,8 +162,6 @@ namespace BizHawk.Client.Common
tas.Subtitles.Add(sub);
}
tas.TasStateManager.UpdateSettings(old.TasStateManager.Settings);
tas.Save();
return tas;
}