Refix bind savestates to movies option
This commit is contained in:
parent
e61ea6050a
commit
984abbb869
|
@ -300,6 +300,8 @@ namespace BizHawk.MultiClient
|
|||
public static string SaveStatePrefix(GameInfo game)
|
||||
{
|
||||
string name = FilesystemSafeName(game);
|
||||
if (Global.Config.BindSavestatesToMovies)
|
||||
name += "." + Path.GetFileNameWithoutExtension(Global.MovieSession.Movie.Filename);
|
||||
switch (game.System)
|
||||
{
|
||||
case "SMS": return Path.Combine(MakeAbsolutePath(Global.Config.PathSMSSavestates, "SMS"), name);
|
||||
|
|
|
@ -322,6 +322,7 @@ namespace BizHawk.MultiClient
|
|||
for (int x = 0; x < Log.Length(); x++)
|
||||
writer.WriteLine(Log.GetFrame(x));
|
||||
writer.WriteLine("[/Input]");
|
||||
Global.RenderPanel.AddMessage(Log.Length().ToString() + " frames saved");
|
||||
}
|
||||
|
||||
public void LoadLogFromSavestateText(string path)
|
||||
|
|
Loading…
Reference in New Issue