Some input display fixes for bk2 format

This commit is contained in:
adelikat 2014-06-19 21:29:57 +00:00
parent 90f627d883
commit 031eb5a282
2 changed files with 17 additions and 1 deletions

View File

@ -29,10 +29,16 @@ namespace BizHawk.Client.Common
public string GenerateInputDisplay()
{
var le = GenerateLogEntry();
if (le == EmptyEntry)
{
return string.Empty;
}
return GenerateLogEntry()
.Replace(".", " ")
.Replace("|", "")
.Replace(" 000, 000", " ");
.Replace("000,000", " ");
}
public bool IsEmpty

View File

@ -280,6 +280,16 @@ namespace BizHawk.Client.EmuHawk
var lg = Global.MovieSession.LogGeneratorInstance();
lg.SetSource(stickyOr);
var test = lg.GenerateInputDisplay();
if (test.Trim() != string.Empty)
{
int zzz = 0;
zzz++;
int yyy = zzz;
yyy++;
}
return lg.GenerateInputDisplay();
}