Minor change to fix the smeared mouse pointer and crash near the bottom of the screen, thanks George.
authorandrew.jordan <>
Wed, 26 May 2010 23:16:18 +0100
changeset 75 bb16bb5b2818
parent 72 b6aa150091ee
child 77 b3dcdc7f8f12
child 78 8026520c72b6
child 83 05f4463787cf
Minor change to fix the smeared mouse pointer and crash near the bottom of the screen, thanks George.
baseport/syborg/pointer/syborg_pointer.cpp
--- a/baseport/syborg/pointer/syborg_pointer.cpp	Fri May 14 16:38:13 2010 +0100
+++ b/baseport/syborg/pointer/syborg_pointer.cpp	Wed May 26 23:16:18 2010 +0100
@@ -111,11 +111,11 @@
   iDisplayMode  = videoInfo.iDisplayMode;
 
   iVideoMem = videoInfo.iVideoAddress + videoInfo.iOffsetToFirstPixel;
-  iOffSetBetweenEachLine = 640;
+  iOffSetBetweenEachLine = iScreenWidth;
 
   ix = iy = 0;
 
-  iXFactor = Fixed(iScreenWidth) / Fixed(0x8000);
+  iXFactor = Fixed(iScreenWidth) / Fixed(0x6000);
   iYFactor = Fixed(iScreenHeight) / Fixed(0x8000);
 
   iFifoPos = iFifoCount = 0;