mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
Music Path can be changed in the JSON now.
This commit is contained in:
1 parent
5f5669678d
commit
5e5658cb75
4 files changed
+14
-3
No files matched your search
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user