Phase sound files should be located in the model dir in selected language subdir
This commit is contained in:
+2
-1
@@ -159,7 +159,8 @@ void refreshModelAudioFiles()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
char filename[AUDIO_FILENAME_MAXLEN+1] = SOUNDS_PATH "/";
|
char filename[AUDIO_FILENAME_MAXLEN+1] = SOUNDS_PATH "/";
|
||||||
|
strncpy(filename+SOUNDS_PATH_LNG_OFS, currentLanguagePack->id, 2);
|
||||||
|
|
||||||
if (sdMounted()) {
|
if (sdMounted()) {
|
||||||
char *buf = strcat_modelname(&filename[sizeof(SOUNDS_PATH)], g_eeGeneral.currModel);
|
char *buf = strcat_modelname(&filename[sizeof(SOUNDS_PATH)], g_eeGeneral.currModel);
|
||||||
*buf++ = '/';
|
*buf++ = '/';
|
||||||
|
|||||||
Reference in New Issue
Block a user