Fix record/play dialogs for native recordings

Resolves assertions when opening the file selection dialog windows for
recordings.
This commit is contained in:
Squall Leonhart 2023-01-09 01:17:07 +11:00 committed by GitHub
parent 3989146fa5
commit b34448c9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1386,6 +1386,8 @@ EVT_HANDLER_MASK(RecordMovieStartRecording, "Start game recording...", CMDEN_NGR
extno++;
}
mov_exts.append(wxALL_FILES);
if (mov_extno < 0)
mov_extno = extno;
}
@ -1450,6 +1452,8 @@ EVT_HANDLER_MASK(PlayMovieStartPlaying, "Start playing movie...", CMDEN_NGREC |
extno++;
}
mov_exts.append(wxALL_FILES);
if (mov_extno < 0)
mov_extno = extno;
}