From aad49cc77c1725f019638e38a2444ca1adb0236f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Tue, 3 Dec 2013 23:50:33 +0000 Subject: [PATCH] [NTVDM]: Code formatting only. svn path=/branches/ntvdm/; revision=61210 --- subsystems/ntvdm/pic.c | 4 ++-- subsystems/ntvdm/ps2.c | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/subsystems/ntvdm/pic.c b/subsystems/ntvdm/pic.c index ffe2c5271ed..c479dfdc1a2 100644 --- a/subsystems/ntvdm/pic.c +++ b/subsystems/ntvdm/pic.c @@ -199,7 +199,7 @@ VOID PicInterruptRequest(BYTE Number) if (Number >= 0 && Number < 8) { - /* Check if any of the higher-priorirty interrupts are busy */ + /* Check if any of the higher-priority interrupts are busy */ for (i = 0; i <= Number ; i++) { if (MasterPic.InServiceRegister & (1 << Number)) return; @@ -226,7 +226,7 @@ VOID PicInterruptRequest(BYTE Number) return; } - /* Check if any of the higher-priorirty interrupts are busy */ + /* Check if any of the higher-priority interrupts are busy */ if (MasterPic.InServiceRegister != 0) return; for (i = 0; i <= Number; i++) { diff --git a/subsystems/ntvdm/ps2.c b/subsystems/ntvdm/ps2.c index 13c9406da41..507e21cff81 100644 --- a/subsystems/ntvdm/ps2.c +++ b/subsystems/ntvdm/ps2.c @@ -96,7 +96,6 @@ VOID KeyboardWriteCommand(BYTE Command) { KeyboardResponse = KeyboardConfig; KeyboardReadResponse = TRUE; - break; } @@ -114,7 +113,6 @@ VOID KeyboardWriteCommand(BYTE Command) /* These commands require a response */ KeyboardResponse = Command; KeyboardWriteResponse = TRUE; - break; } @@ -122,7 +120,6 @@ VOID KeyboardWriteCommand(BYTE Command) case 0xA7: { // TODO: Mouse support - break; } @@ -130,7 +127,6 @@ VOID KeyboardWriteCommand(BYTE Command) case 0xA8: { // TODO: Mouse support - break; } @@ -139,7 +135,6 @@ VOID KeyboardWriteCommand(BYTE Command) { KeyboardResponse = 0; KeyboardReadResponse = TRUE; - break; } @@ -148,7 +143,6 @@ VOID KeyboardWriteCommand(BYTE Command) { KeyboardResponse = 0x55; KeyboardReadResponse = TRUE; - break; } @@ -185,7 +179,6 @@ VOID KeyboardWriteCommand(BYTE Command) { /* Stop the simulation */ VdmRunning = FALSE; - break; } } @@ -245,7 +238,6 @@ VOID KeyboardWriteData(BYTE Data) { /* Push the data byte to the keyboard queue */ KeyboardQueuePush(Data); - break; } @@ -323,7 +315,6 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter) /* Keyboard IRQ */ PicInterruptRequest(1); - break; } @@ -331,7 +322,6 @@ DWORD WINAPI InputThreadProc(LPVOID Parameter) { // TODO: NOT IMPLEMENTED UNIMPLEMENTED; - break; }