From 9a14bf3057b81a82b40a6cb9a1bb053c2af36278 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 14 Mar 2021 09:39:47 +0100 Subject: [PATCH] Fixed an issue with quick system select if there was only a single system present. --- es-app/src/views/gamelist/ISimpleGameListView.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/es-app/src/views/gamelist/ISimpleGameListView.cpp b/es-app/src/views/gamelist/ISimpleGameListView.cpp index 610ac3779..436a0c648 100644 --- a/es-app/src/views/gamelist/ISimpleGameListView.cpp +++ b/es-app/src/views/gamelist/ISimpleGameListView.cpp @@ -176,7 +176,8 @@ bool ISimpleGameListView::input(InputConfig* config, Input input) return true; } else if (config->isMappedLike(getQuickSystemSelectRightButton(), input)) { - if (Settings::getInstance()->getBool("QuickSystemSelect")) { + if (Settings::getInstance()->getBool("QuickSystemSelect") && + SystemData::sSystemVector.size() > 1) { onPauseVideo(); onFocusLost(); stopListScrolling(); @@ -185,7 +186,8 @@ bool ISimpleGameListView::input(InputConfig* config, Input input) } } else if (config->isMappedLike(getQuickSystemSelectLeftButton(), input)) { - if (Settings::getInstance()->getBool("QuickSystemSelect")) { + if (Settings::getInstance()->getBool("QuickSystemSelect") && + SystemData::sSystemVector.size() > 1) { onPauseVideo(); onFocusLost(); stopListScrolling();