SNES - hook up frame counter
This commit is contained in:
parent
001b28c60e
commit
afa27c1a26
|
@ -306,6 +306,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo.SNES
|
||||||
LibsnesDll.snes_set_layer_enable(4, 3, CoreInputComm.SNES_ShowOBJ_3);
|
LibsnesDll.snes_set_layer_enable(4, 3, CoreInputComm.SNES_ShowOBJ_3);
|
||||||
|
|
||||||
//apparently this is one frame?
|
//apparently this is one frame?
|
||||||
|
timeFrameCounter++;
|
||||||
LibsnesDll.snes_run();
|
LibsnesDll.snes_run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -373,7 +374,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo.SNES
|
||||||
Marshal.Copy(data, 0, emudata, size);
|
Marshal.Copy(data, 0, emudata, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ResetFrameCounter() { }
|
public void ResetFrameCounter() { timeFrameCounter = 0; }
|
||||||
public void SaveStateText(TextWriter writer)
|
public void SaveStateText(TextWriter writer)
|
||||||
{
|
{
|
||||||
var temp = SaveStateBinary();
|
var temp = SaveStateBinary();
|
||||||
|
|
Loading…
Reference in New Issue