From fe876edaebcfaf03ae5639707175557b0d12e618 Mon Sep 17 00:00:00 2001 From: aaron Date: Tue, 16 May 2017 12:53:07 +0000 Subject: [PATCH] git-svn-id: https://spexeah.com:8443/svn/Asuro@22 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c --- src/gdt.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdt.pas b/src/gdt.pas index 54fb87dd..9bc8e3ef 100644 --- a/src/gdt.pas +++ b/src/gdt.pas @@ -51,7 +51,7 @@ begin descriptor[0] := limit and $FF; descriptor[1] := (limit shr 8) and $FF; - descriptor[6] := limit or ((limit shr 16) and $F); //3 <-- has now overwritten both $C0 and $40 is now equal to limit or'd with limit shifted right 16 bits and constant $0F + descriptor[6] := descriptor[6] or ((limit shr 16) and $F); //3 <-- has now overwritten both $C0 and $40 is now equal to limit or'd with limit shifted right 16 bits and constant $0F descriptor[2] := base and $FF; descriptor[3] := (base shr 8) and $FF;