mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Have playback of input files stop upon reaching the frame count designated in the header, preventing that number from being tampered with and assisting in recording verifiability. Adjusted the "resume recording from end of playback" code to account for playback stopping in the middle of a movie as above.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7176 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fb4c82fb48
commit
d7bda211fd
4 changed files with 27 additions and 20 deletions
|
@ -1044,7 +1044,7 @@ void CFrame::DoStop()
|
|||
if(Frame::IsRecordingInput())
|
||||
DoRecordingSave();
|
||||
if(Frame::IsPlayingInput() || Frame::IsRecordingInput())
|
||||
Frame::EndPlayInput();
|
||||
Frame::EndPlayInput(false);
|
||||
|
||||
#ifdef __WXGTK__
|
||||
// Make sure the app doesn't hang waiting on a keystate check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue