Disable screen saver hack by Nasarus.
git-svn-id: svn://kolibrios.org@7659 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d7aa06e1d1
commit
3defe609b4
@ -26,8 +26,8 @@ start:
|
|||||||
mov [timeout], eax
|
mov [timeout], eax
|
||||||
|
|
||||||
; r1647 by Nasarus
|
; r1647 by Nasarus
|
||||||
mcall 66, 4, 57, 0 ; hot key for {Space}
|
; mcall 66, 4, 57, 0 ; hot key for {Space}
|
||||||
mcall 66, 4, 28, 0 ; hot key for {Enter}
|
; mcall 66, 4, 28, 0 ; hot key for {Enter}
|
||||||
|
|
||||||
still:
|
still:
|
||||||
mcall 23, [timeout]
|
mcall 23, [timeout]
|
||||||
@ -37,10 +37,10 @@ still:
|
|||||||
jnz still
|
jnz still
|
||||||
mcall
|
mcall
|
||||||
; r1647 by Nasarus
|
; r1647 by Nasarus
|
||||||
cmp al, 2 ; hot key?
|
; cmp al, 2 ; hot key?
|
||||||
jnz still ; no hotkey, evenets handling go on
|
; jnz still ; no hotkey, evenets handling go on
|
||||||
movzx edx, ah
|
; movzx edx, ah
|
||||||
mcall 72, 1, 2 ; transfer key code to active window after interception
|
; mcall 72, 1, 2 ; transfer key code to active window after interception
|
||||||
jmp still
|
jmp still
|
||||||
run_saver:
|
run_saver:
|
||||||
invoke ini.get_str, ini_file, ini_section, ini_key_program, ini_program_buf, ini_program_buf.size, ini_program_default
|
invoke ini.get_str, ini_file, ini_section, ini_key_program, ini_program_buf, ini_program_buf.size, ini_program_default
|
||||||
|
Loading…
Reference in New Issue
Block a user