From 64e14be4ee94a825129594922a223b93eef0e1dd Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 21 Jun 2021 22:16:43 +0200 Subject: [PATCH] A navigation sound is now played when attempting to add a placeholder as favorite. --- es-app/src/views/gamelist/ISimpleGameListView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/es-app/src/views/gamelist/ISimpleGameListView.cpp b/es-app/src/views/gamelist/ISimpleGameListView.cpp index daae17807..d41be85c4 100644 --- a/es-app/src/views/gamelist/ISimpleGameListView.cpp +++ b/es-app/src/views/gamelist/ISimpleGameListView.cpp @@ -476,6 +476,9 @@ bool ISimpleGameListView::input(InputConfig* config, Input input) return true; } } + else if (config->isMappedTo("y", input) && getCursor()->isPlaceHolder()) { + NavigationSounds::getInstance()->playThemeNavigationSound(SCROLLSOUND); + } } }