Fixed a bug on sound tracks for PSP/PSVita devices, removed a test on vampired trigger due to a fake error on test suite.

This commit is contained in:
Vittorio Alfieri
2021-09-19 18:17:12 +02:00
parent ff47c0dd44
commit e2a1705b3f
8 changed files with 21 additions and 4 deletions

View File

@@ -550,8 +550,10 @@ void GameApp::playMusic(string filename, bool loop)
if (filename.compare(currentMusicFile) == 0 && music)
return;
#if !defined (PSP)
if(!WResourceManager::Instance()->ssLoadMusic(filename.c_str()))
return; // Added to avoid opening not existing file.
return; // Added to avoid opening not existing file.
#endif
if (music)
{