Mercurial > might-and-magic-trilogy
comparison mm7_4.cpp @ 25:2bbf33898c6b
c/p error in prev commit
author | Nomad |
---|---|
date | Mon, 15 Oct 2012 18:45:11 +0200 |
parents | 74940016abc8 |
children | 93bf1d5f6a6d |
comparison
equal
deleted
inserted
replaced
24:74940016abc8 | 25:2bbf33898c6b |
---|---|
7567 for (uint y = 8; y < 352; ++y) | 7567 for (uint y = 8; y < 352; ++y) |
7568 { | 7568 { |
7569 memcpy(pDst + y * Dst.lPitch / 2, | 7569 memcpy(pDst + y * Dst.lPitch / 2, |
7570 pSrc + y * 640, 8 * sizeof(__int16)); | 7570 pSrc + y * 640, 8 * sizeof(__int16)); |
7571 memcpy(pDst + 8 + 460/*462*/ + y * Dst.lPitch / 2, | 7571 memcpy(pDst + 8 + 460/*462*/ + y * Dst.lPitch / 2, |
7572 pSrc + 8 + 460/*462*/ + y * Dst.lPitch / 2, 174/*172*/ * sizeof(__int16)); | 7572 pSrc + 8 + 460/*462*/ + y * 640, 174/*172*/ * sizeof(__int16)); |
7573 } | 7573 } |
7574 | 7574 |
7575 for (uint y = 351/*352*/; y < 480; ++y) | 7575 for (uint y = 351/*352*/; y < 480; ++y) |
7576 memcpy(pDst + y * Dst.lPitch / 2, | 7576 memcpy(pDst + y * Dst.lPitch / 2, |
7577 pSrc + y * 640, 640 * sizeof(__int16)); | 7577 pSrc + y * 640, 640 * sizeof(__int16)); |