mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Added navigation sounds when entering and exiting folders, in both normal gamelists and bundled collections.
This commit is contained in:
parent
810b41bdc9
commit
e21ddcbe93
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue