kernel.set_screen: allways do force resetting

git-svn-id: svn://kolibrios.org@4286 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2013-11-24 07:01:31 +00:00
parent 7cfde6baf4
commit 8a90112e87

View File

@ -5611,13 +5611,7 @@ set_screen:
; eax - new Screen_Max_X ; eax - new Screen_Max_X
; ecx - new BytesPerScanLine ; ecx - new BytesPerScanLine
; edx - new Screen_Max_Y ; edx - new Screen_Max_Y
cmp eax, [Screen_Max_X]
jne .set
cmp edx, [Screen_Max_Y]
jne .set
ret
.set:
pushfd pushfd
cli cli