Some input display fixes for bk2 format
This commit is contained in:
parent
90f627d883
commit
031eb5a282
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue