[NTVDM]: Errm... fix the "fix": apps *must* always set AX (not AL) to a correct value...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 11 Nov 2014 01:57:59 +0000 (01:57 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 11 Nov 2014 01:57:59 +0000 (01:57 +0000)
svn path=/trunk/; revision=65375

reactos/subsystems/ntvdm/dos/mouse32.c

index 51d0621..212e5ee 100644 (file)
@@ -176,7 +176,7 @@ static VOID CallMouseUserHandlers(USHORT CallMask)
 
 static VOID WINAPI DosMouseService(LPWORD Stack)
 {
-    switch (getAL())
+    switch (getAX())
     {
         /* Reset Driver */
         case 0x00:
@@ -601,7 +601,7 @@ static VOID WINAPI DosMouseService(LPWORD Stack)
 
         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());
         }
     }
 }