diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-11-28 18:30:03 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-11-28 18:30:03 +0000 |
commit | 65292a27dc0df89ba8024f0509cd138f35625bb8 (patch) | |
tree | 2d5fd4a76cf2c35911f33a1503278cf25a0c3a91 /emulators/frodo/files/patch-SID.cpp | |
parent | Add listener, a typical security-related program like the motion package (diff) |
- Fix Sound support
Submitted by: Rob Andrews
Diffstat (limited to 'emulators/frodo/files/patch-SID.cpp')
-rw-r--r-- | emulators/frodo/files/patch-SID.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/frodo/files/patch-SID.cpp b/emulators/frodo/files/patch-SID.cpp new file mode 100644 index 000000000000..1b340e4795d7 --- /dev/null +++ b/emulators/frodo/files/patch-SID.cpp @@ -0,0 +1,20 @@ +--- SID.cpp.orig 2002-01-02 21:18:59.000000000 +0000 ++++ SID.cpp 2004-11-27 15:51:44.000000000 +0000 +@@ -428,7 +428,7 @@ + int play_buf; // Number of buffer currently playing + #endif + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__FreeBSD__) + int devfd, sndbufsize, buffer_rate; + int16 *sound_buffer; + #endif +@@ -1351,7 +1351,7 @@ + #elif defined(AMIGA) + #include "SID_Amiga.i" + +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__FreeBSD__) + #include "SID_linux.i" + + #elif defined(SUN) |