Music Path can be changed in the JSON now.

This commit is contained in:
VoltZ committed 2019-11-17 23:03:52 +01:00
1 parent 5f5669678d
commit 5e5658cb75
4 files changed
+14 -3

No files matched your search

+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;
}
}