Author: hbelusca
Date: Tue Nov 11 01:57:59 2014
New Revision: 65375

URL: http://svn.reactos.org/svn/reactos?rev=65375&view=rev
Log:
[NTVDM]: Errm... fix the "fix": apps *must* always set AX (not AL) to a correct 
value before calling INT 33h. The app that wrongly set AX did it once... ^^

Modified:
    trunk/reactos/subsystems/ntvdm/dos/mouse32.c

Modified: trunk/reactos/subsystems/ntvdm/dos/mouse32.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/dos/mouse32.c?rev=65375&r1=65374&r2=65375&view=diff
==============================================================================
--- trunk/reactos/subsystems/ntvdm/dos/mouse32.c        [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/dos/mouse32.c        [iso-8859-1] Tue Nov 11 
01:57:59 2014
@@ -176,7 +176,7 @@
 
 static VOID WINAPI DosMouseService(LPWORD Stack)
 {
-    switch (getAL())
+    switch (getAX())
     {
         /* Reset Driver */
         case 0x00:
@@ -601,7 +601,7 @@
 
         default:
         {
-            DPRINT1("BIOS Function INT 33h, AL = 0x%02X NOT IMPLEMENTED\n", 
getAL());
+            DPRINT1("BIOS Function INT 33h, AX = 0x%04X NOT IMPLEMENTED\n", 
getAX());
         }
     }
 }


Reply via email to