X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2Fx86%2FVGAText%2Fvga.c;h=d958956b3cb875729b81c2556e3e7d1fd9542c12;hb=246109db20d55bb7deb50af2f62f40b96fa4e831;hp=e926313002ec659039156fdcee35bb2a2bd28429;hpb=98d45a155c3ce437d0eddb67b9eb2b203f87ec3b;p=tpg%2Facess2.git diff --git a/Modules/x86/VGAText/vga.c b/Modules/x86/VGAText/vga.c index e9263130..d958956b 100644 --- a/Modules/x86/VGAText/vga.c +++ b/Modules/x86/VGAText/vga.c @@ -4,7 +4,7 @@ #define DEBUG 0 #include #include -#include +#include #include // === CONSTANTS === @@ -230,10 +230,10 @@ void VGA_int_SetCursor(Sint16 x, Sint16 y) int pos = x+y*VGA_WIDTH; if(x == -1 || y == -1) pos = -1; - outb(0x3D4, 14); - outb(0x3D5, pos >> 8); - outb(0x3D4, 15); - outb(0x3D5, pos); + outb(0x3D4, 14); + outb(0x3D5, pos >> 8); + outb(0x3D4, 15); + outb(0x3D5, pos); } void VGA_2D_Fill(void *Ent, Uint16 X, Uint16 Y, Uint16 W, Uint16 H, Uint32 Colour)