Fixes #1538: Lua playFile(): current language sound path added to the file name in case of a relative path
This commit is contained in:
@@ -850,6 +850,9 @@ void AudioQueue::playFile(const char *filename, uint8_t flags, uint8_t id)
|
||||
{
|
||||
#if defined(SIMU)
|
||||
printf("playFile(\"%s\", flags=%x, id=%d)\n", filename, flags, id);
|
||||
if (strlen(filename) > AUDIO_FILENAME_MAXLEN) {
|
||||
TRACE("file name too long! maximum length is %d characters", AUDIO_FILENAME_MAXLEN);
|
||||
}
|
||||
fflush(stdout);
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user