mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-02 16:49:05 +00:00
Music Path can be changed in the JSON now.
This commit is contained in:
+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