Fix Input Display during movie playback/recording to be the previous frame, not the upcoming frame

This commit is contained in:
andres.delikat 2011-08-29 23:33:57 +00:00
parent 2caf635dd9
commit be4ce1dce7
1 changed files with 5 additions and 1 deletions

View File

@ -487,7 +487,11 @@ namespace BizHawk.MultiClient
public string MakeInputDisplay()
{
StringBuilder s = new StringBuilder(Global.GetOutputControllersAsMnemonic());
StringBuilder s;
if (Global.MainForm.UserMovie.Mode == MOVIEMODE.INACTIVE || Global.MainForm.UserMovie.Mode == MOVIEMODE.FINISHED)
s = new StringBuilder(Global.GetOutputControllersAsMnemonic());
else
s = new StringBuilder(Global.MainForm.UserMovie.GetInputFrame(Global.Emulator.Frame - 1));
s.Replace(".", " ");
s.Replace("|", "");
return s.ToString();