diff --git a/es-app/src/views/ViewController.cpp b/es-app/src/views/ViewController.cpp index 8e2597be7..5a82f428e 100644 --- a/es-app/src/views/ViewController.cpp +++ b/es-app/src/views/ViewController.cpp @@ -752,16 +752,20 @@ std::shared_ptr ViewController::getGamelistView(SystemData* system else if (viewPreference == "video") selectedViewStyle = VIDEO; - if (selectedViewStyle == AUTOMATIC) { - std::vector files {system->getRootFolder()->getFilesRecursive(GAME | FOLDER)}; - for (auto it = files.cbegin(); it != files.cend(); ++it) { - if (themeHasVideoView && !(*it)->getVideoPath().empty()) { - selectedViewStyle = VIDEO; - break; - } - else if (!(*it)->getImagePath().empty()) { - selectedViewStyle = DETAILED; - // Don't break out in case any subsequent files have videos. + if (system->getTheme()->isLegacyTheme()) { + if (selectedViewStyle == AUTOMATIC) { + std::vector files { + system->getRootFolder()->getFilesRecursive(GAME | FOLDER)}; + + for (auto it = files.cbegin(); it != files.cend(); ++it) { + if (themeHasVideoView && !(*it)->getVideoPath().empty()) { + selectedViewStyle = VIDEO; + break; + } + else if (!(*it)->getImagePath().empty()) { + selectedViewStyle = DETAILED; + // Don't break out in case any subsequent files have videos. + } } } }