Clean up movie state when exiting
Jeffrey Pfau jeffrey@endrift.com
Tue, 29 Jul 2014 22:49:24 -0700
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-rr.c
→
src/gba/gba-rr.c
@@ -20,6 +20,13 @@ if (!gba->rr) {
return; } + if (GBARRIsPlaying(gba->rr)) { + GBARRStopPlaying(gba->rr); + } + if (GBARRIsRecording(gba->rr)) { + GBARRStopRecording(gba->rr); + } + free(gba->rr); gba->rr = 0; }