SDL port v1, Windows only for now.
Working: graphics, sound, music (3dpb only). Not working: GUI, user settings.
This commit is contained in:
1 parent
10c83e8bf5
commit
a09ea75d80
30 files changed
+872
-4172
No files matched your search
@@ -320,7 +320,7 @@ float loader::play_sound(int soundIndex)
|
||||
{
|
||||
if (soundIndex <= 0)
|
||||
return 0.0;
|
||||
Sound::PlaySound(sound_list[soundIndex].WavePtr, 0, 7, WMIX_HIPRIORITY | WMIX_CLEARQUEUE, 0);
|
||||
Sound::PlaySound(sound_list[soundIndex].WavePtr, 0, 7, 0, 0);
|
||||
return sound_list[soundIndex].Duration;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user