fixed performance down in video modes 0 and 9.

git-svn-id: svn://kolibrios.org@201 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2006-10-30 15:09:35 +00:00
parent ed2a996944
commit c9a1b11964

View File

@ -286,8 +286,10 @@ proc init_LFB
cmp dword [LFBAddress], -1
jne @f
mov [0x2f0000+0x901c],byte 2
stdcall kernel_alloc, 0x280000
mov [LFBAddress], eax
ret
@@:
test [SCR_MODE],word 0100000000000000b