DXGL r632 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r631‎ | r632 | r633 >
Date:01:34, 1 January 2016
Author:admin
Status:new
Tags:
Comment:
Fix mouse pointer scaling.
Modified paths:
  • /ddraw/hooks.c (modified) (history)

Diff [purge]

Index: ddraw/hooks.c
@@ -316,7 +316,7 @@
317317 if (oldy < 0) oldy = 0;
318318 if (oldx >= sizes[2]) oldx = sizes[2] - 1;
319319 if (oldy >= sizes[3]) oldy = sizes[3] - 1;
320 - wParam = oldx + (oldy << 16);
 320+ lParam = oldx + (oldy << 16);
321321 }
322322 break;
323323 }