diff options
Diffstat (limited to 'games/abuse/abuse-0.8-sound_fix.patch')
-rw-r--r-- | games/abuse/abuse-0.8-sound_fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/abuse/abuse-0.8-sound_fix.patch b/games/abuse/abuse-0.8-sound_fix.patch new file mode 100644 index 0000000000..7fffe3e0a7 --- /dev/null +++ b/games/abuse/abuse-0.8-sound_fix.patch @@ -0,0 +1,12 @@ +diff -aurp ./src/sdlport/sound.cpp ../abuse-0.8//src/sdlport/sound.cpp +--- ./src/sdlport/sound.cpp 2011-05-09 03:58:30.000000000 -0400 ++++ ../abuse-0.8//src/sdlport/sound.cpp 2011-05-21 20:46:44.487000027 -0400 +@@ -65,7 +65,7 @@ int sound_init( int argc, char **argv ) + } + free( sfxdir ); + +- if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 128) < 0) ++ if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024) < 0) + { + printf( "Sound: Unable to open audio - %s\nSound: Disabled (error)\n", SDL_GetError() ); + return 0; |