mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where videos would sometimes not play when exiting the media viewer.
This commit is contained in:
parent
ccb4c19d78
commit
9b395d6526
|
@ -55,9 +55,9 @@ bool MediaViewer::startMediaViewer(FileData* game)
|
|||
void MediaViewer::stopMediaViewer()
|
||||
{
|
||||
NavigationSounds::getInstance()->playThemeNavigationSound(SCROLLSOUND);
|
||||
ViewController::get()->onStopVideo();
|
||||
|
||||
if (mVideo) {
|
||||
ViewController::get()->onStopVideo();
|
||||
delete mVideo;
|
||||
mVideo = nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue