N64: Fixed analog input display so that the mnemonic doesn't change length or lose buttons

This commit is contained in:
pjgat09 2013-07-28 23:35:12 +00:00
parent 0f11d987fb
commit e48e2db7ff
2 changed files with 5 additions and 3 deletions

View File

@ -486,7 +486,7 @@ namespace BizHawk.MultiClient
s = new StringBuilder(Global.MovieSession.Movie.GetInput(Global.Emulator.Frame - 1));
}
s.Replace(".", " ").Replace("|", "");
s.Replace(".", " ").Replace("|", "").Replace(" 000, 000", " ");
return s.ToString();
}

View File

@ -444,10 +444,12 @@ namespace BizHawk.MultiClient
val = (int)GetBaseFloat("P" + player + " " + name);
}
if (val != 0)
if (val >= 0)
{
input.Append(String.Format("{0:000}", val)).Append(',');
input.Append(' ');
}
input.Append(String.Format("{0:000}", val)).Append(',');
}
input.Remove(input.Length - 1, 1);
}