Music Path can be changed in the JSON now.

This commit is contained in:
VoltZ
2019-11-17 23:03:52 +01:00
parent 5f5669678d
commit 5e5658cb75
4 changed files with 14 additions and 3 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ bool touching(touchPosition touch, Structs::ButtonPos button) {
void loadSoundEffects(void) {
if (dspFound == true) {
if( access( "sdmc:/3ds/Universal-Updater/Music.wav", F_OK ) != -1 ) {
bgm = new sound("sdmc:/3ds/Universal-Updater/Music.wav", 1, true);
if( access( Config::MusicPath.c_str(), F_OK ) != -1 ) {
bgm = new sound(Config::MusicPath, 1, true);
songIsFound = true;
}
}