Fixed an issue where attempting to view media for a game that had no downloaded media paused the playback of all static theme videos

This commit is contained in:
Leon Styhre 2024-09-16 20:17:30 +02:00
parent 8d23e474d9
commit fb9aeddfab

View file

@ -45,8 +45,6 @@ bool MediaViewer::startMediaViewer(FileData* game)
mKeyRepeatDir = 0;
mKeyRepeatTimer = 0;
ViewController::getInstance()->pauseViewVideos();
mShowMediaTypes = Settings::getInstance()->getBool("MediaViewerShowTypes");
if (Settings::getInstance()->getString("MediaViewerHelpPrompts") == "disabled")
@ -69,6 +67,7 @@ bool MediaViewer::startMediaViewer(FileData* game)
if (!mHasVideo && !mHasImages)
return false;
ViewController::getInstance()->pauseViewVideos();
Window::getInstance()->stopInfoPopup();
HelpStyle style;