N64: Fixed analog input display so that the mnemonic doesn't change length or lose buttons
This commit is contained in:
parent
0f11d987fb
commit
e48e2db7ff
|
@ -486,7 +486,7 @@ namespace BizHawk.MultiClient
|
||||||
s = new StringBuilder(Global.MovieSession.Movie.GetInput(Global.Emulator.Frame - 1));
|
s = new StringBuilder(Global.MovieSession.Movie.GetInput(Global.Emulator.Frame - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
s.Replace(".", " ").Replace("|", "");
|
s.Replace(".", " ").Replace("|", "").Replace(" 000, 000", " ");
|
||||||
|
|
||||||
return s.ToString();
|
return s.ToString();
|
||||||
}
|
}
|
||||||
|
|
|
@ -444,10 +444,12 @@ namespace BizHawk.MultiClient
|
||||||
val = (int)GetBaseFloat("P" + player + " " + name);
|
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);
|
input.Remove(input.Length - 1, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue