summaryrefslogtreecommitdiffstats
path: root/games/abuse/abuse-0.8-sound_fix.patch
diff options
context:
space:
mode:
author Rex Hauser2011-06-29 23:24:30 +0200
committer Niels Horn2011-06-29 23:24:30 +0200
commitc974f927714308bf0bc5599741ac5448b4ac951d (patch)
treebfcfd6b3742ead16f43558ea7db511b1a9fd9ff0 /games/abuse/abuse-0.8-sound_fix.patch
parent95e5870ef760d392bbc5196f15da3b011a16add3 (diff)
downloadslackbuilds-c974f927714308bf0bc5599741ac5448b4ac951d.tar.gz
games/abuse: Added (dark 2D side-scrolling platform game)
Diffstat (limited to 'games/abuse/abuse-0.8-sound_fix.patch')
-rw-r--r--games/abuse/abuse-0.8-sound_fix.patch12
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;