Command line: Fixed crash when using /recordmovie while a movie is already recording
This commit is contained in:
parent
a2a6c4489b
commit
58d96c7971
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,9 @@ namespace Mesen.GUI.Forms
|
|||
}
|
||||
|
||||
if(_movieToRecord != null) {
|
||||
if(InteropEmu.MovieRecording()) {
|
||||
InteropEmu.MovieStop();
|
||||
}
|
||||
RecordMovieOptions options = new RecordMovieOptions(_movieToRecord, "", "", RecordMovieFrom.StartWithSaveData);
|
||||
InteropEmu.MovieRecord(ref options);
|
||||
_movieToRecord = null;
|
||||
|
|
Loading…
Add table
Reference in a new issue