kiv: fix two issues related to tiled bg

git-svn-id: svn://kolibrios.org@7604 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2019-03-12 21:08:09 +00:00
parent f107b999f4
commit bc5ea26ad2

View File

@ -288,6 +288,7 @@ button:
cmp eax, 'bgr'
jne @f
mcall SF_BACKGROUND_SET, SSF_MODE_BG, 2 ;stretch by default
call set_as_bgr
jmp still
@ -512,6 +513,8 @@ set_as_bgr:
sub edi,sys_path+3
invoke ini_set_str, inifileeskin, amain, aprogram, sys_path+2, edi
;add param '\S__'
cmp word[@PARAMS],'\T'
je @f
cmp word[@PARAMS],'\S'
je @f
mov esi, @PARAMS+4096-8