forked from KolibriOS/kolibrios
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:
parent
ed2a996944
commit
c9a1b11964
@ -286,8 +286,10 @@ proc init_LFB
|
|||||||
cmp dword [LFBAddress], -1
|
cmp dword [LFBAddress], -1
|
||||||
jne @f
|
jne @f
|
||||||
|
|
||||||
|
mov [0x2f0000+0x901c],byte 2
|
||||||
stdcall kernel_alloc, 0x280000
|
stdcall kernel_alloc, 0x280000
|
||||||
mov [LFBAddress], eax
|
mov [LFBAddress], eax
|
||||||
|
|
||||||
ret
|
ret
|
||||||
@@:
|
@@:
|
||||||
test [SCR_MODE],word 0100000000000000b
|
test [SCR_MODE],word 0100000000000000b
|
||||||
|
Loading…
Reference in New Issue
Block a user