TAStudio - more GoToFrame logic, now smoothly goes frame play to record when advancing past the end of the movie. The code is sloppy and wasteful in circumstances, but it works (probably)
This commit is contained in:
parent
b6138325ea
commit
5506f91e27
|
@ -347,7 +347,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
else // Emulate to a future frame
|
||||
{
|
||||
// TODO
|
||||
// TODO: get the last greenzone frame and go there
|
||||
_tas.SwitchToPlay(); // TODO: stop copy/pasting this logic
|
||||
Global.Emulator.LoadStateBinary(new BinaryReader(new MemoryStream(_tas[_tas.LastEmulatedFrame].State.ToArray())));
|
||||
GlobalWin.MainForm.UnpauseEmulator();
|
||||
StopFrame = frame;
|
||||
// TODO: if turbo seek, ramp up the speed
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue