diff options
author | Slashbunny | 2021-03-28 11:57:10 -0400 |
---|---|---|
committer | Slashbunny | 2021-03-28 11:57:10 -0400 |
commit | cbcb30a4b2675f0dd80e711ea77f871e96fa537c (patch) | |
tree | dec866554198ffa78479cdf648c77062ee7c4925 /sound.patch | |
parent | 0d9209760daaf239cbe99ccc7b9a108d77a2875a (diff) | |
download | aur-cbcb30a4b2675f0dd80e711ea77f871e96fa537c.tar.gz |
Switch to scons2, add patches to get game to build
Diffstat (limited to 'sound.patch')
-rw-r--r-- | sound.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sound.patch b/sound.patch new file mode 100644 index 000000000000..c27fd10dc866 --- /dev/null +++ b/sound.patch @@ -0,0 +1,12 @@ +diff -ur src/doom3.gpl/neo/sys/linux/sound.cpp src.new/doom3.gpl/neo/sys/linux/sound.cpp +--- src/doom3.gpl/neo/sys/linux/sound.cpp 2011-11-22 13:15:52.000000000 -0500 ++++ src.new/doom3.gpl/neo/sys/linux/sound.cpp 2021-03-28 11:16:43.267629805 -0400 +@@ -279,7 +279,7 @@ + } + // instead of an exact match, do a very close to + // there is some horrible Ensonic ES1371 which replies 44101 for a 44100 request +- if ( abs( m_speed - PRIMARYFREQ ) > 5 ) { ++ if ( abs( (double) (m_speed - PRIMARYFREQ) ) > 5 ) { + common->Warning( "ioctl SNDCTL_DSP_SPEED failed to get the requested frequency %d, got %d", PRIMARYFREQ, m_speed ); + InitFailed(); + return false; |