Revert "store vblank and cycle count in tasproj files too. Will do this in a less gross way soon"
This reverts commit 297a0c06a0
.
This commit is contained in:
parent
297a0c06a0
commit
bac29fe187
|
@ -12,19 +12,6 @@ namespace BizHawk.Client.Common
|
||||||
|
|
||||||
protected override void Write(string fn, bool isBackup = false)
|
protected override void Write(string fn, bool isBackup = false)
|
||||||
{
|
{
|
||||||
if (Emulator is Emulation.Cores.Nintendo.SubNESHawk.SubNESHawk subNes)
|
|
||||||
{
|
|
||||||
Header[HeaderKeys.VBlankCount] = subNes.VblankCount.ToString();
|
|
||||||
}
|
|
||||||
else if (Emulator is Emulation.Cores.Nintendo.Gameboy.Gameboy gameboy)
|
|
||||||
{
|
|
||||||
Header[HeaderKeys.CycleCount] = gameboy.CycleCount.ToString();
|
|
||||||
}
|
|
||||||
else if (Emulator is Emulation.Cores.Nintendo.SubGBHawk.SubGBHawk subGb)
|
|
||||||
{
|
|
||||||
Header[HeaderKeys.CycleCount] = subGb.CycleCount.ToString();
|
|
||||||
}
|
|
||||||
|
|
||||||
var file = new FileInfo(fn);
|
var file = new FileInfo(fn);
|
||||||
if (file.Directory != null && !file.Directory.Exists)
|
if (file.Directory != null && !file.Directory.Exists)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue