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()
|
public string GenerateInputDisplay()
|
||||||
{
|
{
|
||||||
|
var le = GenerateLogEntry();
|
||||||
|
if (le == EmptyEntry)
|
||||||
|
{
|
||||||
|
return string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
return GenerateLogEntry()
|
return GenerateLogEntry()
|
||||||
.Replace(".", " ")
|
.Replace(".", " ")
|
||||||
.Replace("|", "")
|
.Replace("|", "")
|
||||||
.Replace(" 000, 000", " ");
|
.Replace("000,000", " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsEmpty
|
public bool IsEmpty
|
||||||
|
|
|
@ -280,6 +280,16 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
var lg = Global.MovieSession.LogGeneratorInstance();
|
var lg = Global.MovieSession.LogGeneratorInstance();
|
||||||
lg.SetSource(stickyOr);
|
lg.SetSource(stickyOr);
|
||||||
|
|
||||||
|
var test = lg.GenerateInputDisplay();
|
||||||
|
if (test.Trim() != string.Empty)
|
||||||
|
{
|
||||||
|
int zzz = 0;
|
||||||
|
zzz++;
|
||||||
|
int yyy = zzz;
|
||||||
|
yyy++;
|
||||||
|
}
|
||||||
|
|
||||||
return lg.GenerateInputDisplay();
|
return lg.GenerateInputDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue