From e21ddcbe93ac75a574160c821016f420c9e9a667 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 24 May 2020 15:05:02 +0200 Subject: [PATCH] Added navigation sounds when entering and exiting folders, in both normal gamelists and bundled collections. --- es-app/src/views/gamelist/ISimpleGameListView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/es-app/src/views/gamelist/ISimpleGameListView.cpp b/es-app/src/views/gamelist/ISimpleGameListView.cpp index 260b647c4..7cf25ba66 100644 --- a/es-app/src/views/gamelist/ISimpleGameListView.cpp +++ b/es-app/src/views/gamelist/ISimpleGameListView.cpp @@ -98,6 +98,7 @@ bool ISimpleGameListView::input(InputConfig* config, Input input) else { // It's a folder. if (cursor->getChildren().size() > 0) { + navigationsounds.playThemeNavigationSound(SELECTSOUND); mCursorStack.push(cursor); populateList(cursor->getChildrenListToDisplay()); FileData* cursor = getCursor(); @@ -109,6 +110,7 @@ bool ISimpleGameListView::input(InputConfig* config, Input input) } else if (config->isMappedTo("b", input)) { if (mCursorStack.size()) { + navigationsounds.playThemeNavigationSound(BACKSOUND); populateList(mCursorStack.top()->getParent()->getChildren()); setCursor(mCursorStack.top()); mCursorStack.pop();