It show only 24 and 32 bpp in blue screen

git-svn-id: svn://kolibrios.org@947 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov ( 2008-12-07 04:52:29 +00:00
parent a06f8cc84c
commit 0df8accb94

View File

@ -215,14 +215,14 @@ calc_vmodes_table:
test [es:mi.ModeAttributes],10000000b ;LFB ?
jz @f
; cmp [es:mi.BitsPerPixel], 24
; jb @f
cmp [es:mi.BitsPerPixel], 24 ;It show only videomodes to have support 24 and 32 bpp
jb @f
cmp [es:mi.BitsPerPixel],16
jne .l0
cmp [es:mi.GreenMaskSize],5
jne .l0
mov [es:mi.BitsPerPixel],15
; cmp [es:mi.BitsPerPixel],16
; jne .l0
; cmp [es:mi.GreenMaskSize],5
; jne .l0
; mov [es:mi.BitsPerPixel],15
.l0: