diff mm7_4.cpp @ 121:3471df3713e2

Teal line at game's viewport bottom fix
author Nomad
date Mon, 11 Feb 2013 17:29:51 +0200
parents 909822c91d47
children 1c471f3629fb
line wrap: on
line diff
--- a/mm7_4.cpp	Sun Feb 10 23:43:28 2013 +0200
+++ b/mm7_4.cpp	Mon Feb 11 17:29:51 2013 +0200
@@ -6827,7 +6827,7 @@
                  pSrc + 8 + 460/*462*/ + y * 640, 174/*172*/ * sizeof(__int16));
         }
 
-        for (uint y = 351/*352*/; y < 480; ++y)
+        for (uint y = 352; y < 480; ++y)
           memcpy(pDst + y * Dst.lPitch / 2,
                  pSrc + y * 640, 640 * sizeof(__int16));
 
@@ -6841,7 +6841,7 @@
         v22 = 4 * ((Dst.lPitch / 4) + v9);
         v21 = 4 * v9 + 1280;
 
-        auto uNumLines = pViewport->uViewportW - pViewport->uViewportY + 1;
+        //auto uNumLines = pViewport->uViewportW - pViewport->uViewportY + 1;
         //v26 = (LPVOID)(pViewport->uViewportW - pViewport->uViewportY + 1);
         v10 = (int)pSrc_x1y1;
         v11 = (int)pDst_x1y1;