From 3e1a59248977a9af72d19f40790f86a838c2a018 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 20 Mar 2012 14:57:16 +0000 Subject: [PATCH] Fix f.37.4 - LOAD_INDIRECT sets the correct hotspot of cursor is now. git-svn-id: svn://kolibrios.org@2483 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/video/cursors.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trunk/video/cursors.inc b/kernel/trunk/video/cursors.inc index a02c927074..a0ae3b802a 100644 --- a/kernel/trunk/video/cursors.inc +++ b/kernel/trunk/video/cursors.inc @@ -384,8 +384,8 @@ align 4 shr ebx, 16 movzx ecx, bh movzx edx, bl - mov [eax+CURSOR.hot_x], ecx - mov [eax+CURSOR.hot_y], edx + mov [edi+CURSOR.hot_x], ecx + mov [edi+CURSOR.hot_y], edx xchg edi, eax mov ecx, 1024