SDL port v1, Windows only for now.

Working: graphics, sound, music (3dpb only).
Not working: GUI, user settings.
This commit is contained in:
Muzychenko Andrey committed 2021-08-27 13:29:41 +03:00
1 parent 10c83e8bf5
commit a09ea75d80
30 files changed
+872 -4172

No files matched your search

+1 -1
View File
@@ -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;
}