From 3defe609b4f2e4ab3bd58f4359027a2b5887f20d Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Sun, 19 May 2019 18:13:38 +0000 Subject: [PATCH] Disable screen saver hack by Nasarus. git-svn-id: svn://kolibrios.org@7659 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/scrsaver/scrsaver.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/programs/system/scrsaver/scrsaver.asm b/programs/system/scrsaver/scrsaver.asm index a0ec0a45fe..89b3456b9d 100644 --- a/programs/system/scrsaver/scrsaver.asm +++ b/programs/system/scrsaver/scrsaver.asm @@ -26,8 +26,8 @@ start: mov [timeout], eax ; r1647 by Nasarus - mcall 66, 4, 57, 0 ; hot key for {Space} - mcall 66, 4, 28, 0 ; hot key for {Enter} +; mcall 66, 4, 57, 0 ; hot key for {Space} +; mcall 66, 4, 28, 0 ; hot key for {Enter} still: mcall 23, [timeout] @@ -37,10 +37,10 @@ still: jnz still mcall ; r1647 by Nasarus - cmp al, 2 ; hot key? - jnz still ; no hotkey, evenets handling go on - movzx edx, ah - mcall 72, 1, 2 ; transfer key code to active window after interception +; cmp al, 2 ; hot key? +; jnz still ; no hotkey, evenets handling go on +; movzx edx, ah +; mcall 72, 1, 2 ; transfer key code to active window after interception jmp still run_saver: invoke ini.get_str, ini_file, ini_section, ini_key_program, ini_program_buf, ini_program_buf.size, ini_program_default