mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-24 17:59:38 +03:00
fix kernel function 48.2 48.3 (set EDX max size = 192 byte)
git-svn-id: svn://kolibrios.org@4796 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
01fad46fac
commit
a1d6f1eae4
@ -173,6 +173,10 @@ align 4
|
||||
syscall_display_settings.02:
|
||||
dec ebx
|
||||
mov esi, ecx
|
||||
cmp edx, 192
|
||||
jnae @f
|
||||
mov edx, 192 ; max size
|
||||
@@:
|
||||
and edx, 255
|
||||
mov edi, common_colours
|
||||
mov ecx, edx
|
||||
@ -183,6 +187,10 @@ syscall_display_settings.02:
|
||||
align 4
|
||||
syscall_display_settings.03:
|
||||
mov edi, ecx
|
||||
cmp edx, 192
|
||||
jnae @f
|
||||
mov edx, 192 ; max size
|
||||
@@:
|
||||
and edx, 255
|
||||
mov esi, common_colours
|
||||
mov ecx, edx
|
||||
|
Loading…
Reference in New Issue
Block a user