mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Bugfix: When attempting to mark a directory as favorite game, the favorites navigation sound played.
This commit is contained in:
parent
0e6b43a5a3
commit
20001d0cca
|
@ -153,7 +153,8 @@ bool ISimpleGameListView::input(InputConfig* config, Input input)
|
|||
else if (config->isMappedTo("y", input) &&
|
||||
!UIModeController::getInstance()->isUIModeKid()) {
|
||||
if (mRoot->getSystem()->isGameSystem()) {
|
||||
NavigationSounds::getInstance()->playThemeNavigationSound(FAVORITESOUND);
|
||||
if (getCursor()->getType() == GAME)
|
||||
NavigationSounds::getInstance()->playThemeNavigationSound(FAVORITESOUND);
|
||||
if (CollectionSystemManager::get()->toggleGameInCollection(getCursor()))
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue