scrshoot.mac corrected by dunkaist

git-svn-id: svn://kolibrios.org@3375 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
esevece 2013-03-13 18:06:46 +00:00
parent a2d96a4749
commit fe26f3d2ac
2 changed files with 11 additions and 11 deletions

View File

@ -42,33 +42,33 @@ macro wait_event redraw,key,button,mouse,ipc,other
mov eax,10 mov eax,10
mcall mcall
dec ax dec ax
if <redraw> eq <> if redraw eq
else else
jz redraw jz redraw
end if end if
dec ax dec ax
if <key> eq <> if key eq
else else
jz key jz key
end if end if
dec ax dec ax
if <button> eq <> if button eq
else else
jz button jz button
end if end if
dec ax dec ax
dec ax dec ax
dec ax dec ax
if <mouse> eq <> if mouse eq
else else
jz mouse jz mouse
end if end if
if <ipc> eq <> if ipc eq
else else
dec ax dec ax
jz ipc jz ipc
end if end if
if <other> eq <> if other eq
jmp still jmp still
else else
jmp other jmp other
@ -150,7 +150,7 @@ macro get_procinfo proc_inf_buf,slot_num
;mov ebx,proc_inf_buf ;mov ebx,proc_inf_buf
push proc_inf_buf push proc_inf_buf
pop ebx pop ebx
if <slot_num> eq <> if slot_num eq
xor ecx,ecx xor ecx,ecx
dec ecx dec ecx
else else
@ -197,7 +197,7 @@ macro get_skin_height
macro delay time macro delay time
{ {
mov eax,5 mov eax,5
if <time> eq <> if time eq
else else
mov ebx,time mov ebx,time
end if end if
@ -207,7 +207,7 @@ macro activ_window slot_n
{ {
mov eax,18 mov eax,18
mov ebx,3 mov ebx,3
if <slot_n> eq <> if slot_n eq
else else
mov ecx,slot_n mov ecx,slot_n
end if end if