changeset 700:e2800b15ec0f

Compiles with distortion patched libsidplay2+reSID now, but crashes for some reason in libsidplay .. not sure if this is caused by me or not.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 23 May 2008 19:48:13 +0300
parents 156fbba8768c
children f2037b4d2c23
files src/xs_sidplay2.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xs_sidplay2.cc	Fri May 23 19:47:12 2008 +0300
+++ b/src/xs_sidplay2.cc	Fri May 23 19:48:13 2008 +0300
@@ -281,6 +281,7 @@
                 return FALSE;
             }
 
+#ifndef HAVE_SIDPLAY2_DISTORTION
             // FIXME FIX ME: support other configurable parameters ...
             // ... WHEN/IF resid-builder+libsidplay2 gets fixed
             rs->sampling(tmpFreq);
@@ -288,6 +289,7 @@
                 xs_error("reSID->sampling(%d) failed.\n", tmpFreq);
                 return FALSE;
             }
+#endif
             
             if (tmpFilter.points > 0)
                 rs->filter((sid_filter_t *) &tmpFilter);