Skip to content

Commit

Permalink
Set default folders where music files can be stored
Browse files Browse the repository at this point in the history
Let's use the correct default folders that RetroPie uses.
  • Loading branch information
bluestang2006 committed Mar 26, 2022
1 parent f62be9e commit 56e9618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions es-core/src/AudioManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void AudioManager::playRandomMusic(bool continueIfPlaying)

// check in system sound directory
if(musics.empty())
getMusicIn("/usr/share/RetroPie/music", musics);
getMusicIn("/opt/retropie/music", musics);

// check in .emulationstation/music directory
if(musics.empty())
Expand Down Expand Up @@ -281,4 +281,4 @@ void AudioManager::update(int deltaTime)
Mix_VolumeMusic((int)sInstance->mMusicVolume);
}
*/
}
}

0 comments on commit 56e9618

Please sign in to comment.