summaryrefslogtreecommitdiff
path: root/emulators/frodo/files/patch-SID.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/frodo/files/patch-SID.cpp')
-rw-r--r--emulators/frodo/files/patch-SID.cpp20
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)