Sound Blaster - DSP Version Command

Sylvain Petreolle spetreolle at yahoo.fr
Wed Feb 26 02:47:18 CST 2003


Index: soundblaster.c
===================================================================
RCS file: /home/wine/wine/dlls/winedos/soundblaster.c,v
retrieving revision 1.2
diff -u -r1.2 soundblaster.c
--- soundblaster.c      31 May 2002 23:40:54 -0000      1.2
+++ soundblaster.c      26 Feb 2003 08:46:47 -0000
@@ -302,7 +302,10 @@
                 DSP_OutBuffer[OutSize++] = ~val;
                 break;
             case 0xE1: /* SB */
-                FIXME("DSP Version - Not Implemented\n");
+               TRACE("DSP Version\n");
+               OutSize=2;
+               DSP_OutBuffer[0]=0; /* returns version 1.0 */
+               DSP_OutBuffer[1]=1;
                 break;
             case 0xF2: /* SB */
                 TRACE("IRQ Request (8-bit)\n");


=====
Sylvain Petreolle
spetreolle at users.sourceforge.net 
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

"Don't think you are. Know you are." Morpheus, in "Matrix".

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the wine-patches mailing list