diff --git a/emulators/xmame/patches/patch-src_unix_sysdep_dsp-drivers_netbsd_c b/emulators/xmame/patches/patch-src_unix_sysdep_dsp-drivers_netbsd_c new file mode 100644 index 00000000000..997c75eeac8 --- /dev/null +++ b/emulators/xmame/patches/patch-src_unix_sysdep_dsp-drivers_netbsd_c @@ -0,0 +1,19 @@ +fix sound in 8 bit cards. + +$OpenBSD: patch-src_unix_sysdep_dsp-drivers_netbsd_c,v 1.1 2002/03/24 21:26:24 fgsch Exp $ +--- src/unix/sysdep/dsp-drivers/netbsd.c.orig Fri Nov 2 22:22:57 2001 ++++ src/unix/sysdep/dsp-drivers/netbsd.c Sun Feb 10 15:28:21 2002 +@@ -130,13 +130,6 @@ static void *netbsd_dsp_create(const voi + a_info.play.precision = desired_precision; + if (ioctl(priv->fd, AUDIO_SETINFO, &a_info) < 0) + { +- perror("error: AUDIO_SETINFO"); +- netbsd_dsp_destroy(dsp); +- return NULL; +- } +- if (a_info.play.encoding != desired_encoding +- || a_info.play.precision != desired_precision) +- { + if (desired_precision == 8) + { + fprintf(stderr, "error: couldn't set sound to 8 bits,\n");