mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Merge for CONTRIBUTORS.txt
This commit is contained in:
commit
cb3640e505
2 changed files with 5 additions and 1 deletions
|
@ -2,4 +2,5 @@ Contributors
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* Christoph Böhmwalder (@chrboe)
|
* Christoph Böhmwalder (@chrboe)
|
||||||
|
* Elijah Stone
|
||||||
* Emmanuel Vadot (@evadot)
|
* Emmanuel Vadot (@evadot)
|
||||||
|
|
|
@ -33,7 +33,10 @@ SoundTrack::SoundTrack(const char* fileName)
|
||||||
FILESYSTEM_loadFileToMemory(fileName, &mem, &length);
|
FILESYSTEM_loadFileToMemory(fileName, &mem, &length);
|
||||||
SDL_RWops *fileIn = SDL_RWFromMem(mem, length);
|
SDL_RWops *fileIn = SDL_RWFromMem(mem, length);
|
||||||
sound = Mix_LoadWAV_RW(fileIn, 1);
|
sound = Mix_LoadWAV_RW(fileIn, 1);
|
||||||
FILESYSTEM_freeMemory(&mem);
|
if (length)
|
||||||
|
{
|
||||||
|
FILESYSTEM_freeMemory(&mem);
|
||||||
|
}
|
||||||
|
|
||||||
if (sound == NULL)
|
if (sound == NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue