diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-09 04:28:39 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-09 04:28:39 +0000 |
| commit | 6c965b2e6e1cec390054ef4c431f1723f283cb86 (patch) | |
| tree | 1430988ae7b8fdf63616e76d33c595b482d42afd /plugins | |
| parent | d3e6e3d46c2474441f6e82aff344cb7103137766 (diff) | |
| download | pcsxr-6c965b2e6e1cec390054ef4c431f1723f283cb86.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@36462 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/dfxvideo/draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dfxvideo/draw.c b/plugins/dfxvideo/draw.c index 4c4a3f4f..d921ac52 100644 --- a/plugins/dfxvideo/draw.c +++ b/plugins/dfxvideo/draw.c @@ -1419,7 +1419,7 @@ void BlitToYUV(unsigned char * surf,int32_t x,int32_t y) { for (column = 0; column < PreviousPSXDisplay.Range.y0 >> 1; column++) { - destpix = (uint32_t *)(surf + (column * lPitch)); + destpix = (uint32_t *)(surf + column * lPitch); for (row = 0; row < dx; row++) { destpix[row] = (4 << 24) | (128 << 16) | (4 << 8) | 128; @@ -1431,7 +1431,7 @@ void BlitToYUV(unsigned char * surf,int32_t x,int32_t y) for (column = 0; column < (PreviousPSXDisplay.Range.y0 + 1) >> 1; column++) { - destpix = (uint32_t *)(surf + dy * lPitch + (column * lPitch)); + destpix = (uint32_t *)(surf + dy * lPitch + column * lPitch); for (row = 0; row < dx; row++) { destpix[row] = (4 << 24) | (128 << 16) | (4 << 8) | 128; |
