diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-03 08:01:07 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-03 08:01:07 +0000 |
| commit | 394c8136b46ab30075b97abc4239dd00e9eb689e (patch) | |
| tree | 6445cf69243527066a6781f97c207c5a7f300b43 /macosx/plugins/DFXVideo/macsrc | |
| parent | 1d8aa3305fbb048d39ae4b7b10ac2a951ec84bd3 (diff) | |
| download | pcsxr-394c8136b46ab30075b97abc4239dd00e9eb689e.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@35184 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc')
| -rw-r--r-- | macosx/plugins/DFXVideo/macsrc/PluginGLView.m | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m index a27f641f..96b05ff4 100644 --- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m @@ -569,13 +569,9 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) row = 0; // make sure the reads are aligned while ((int)pD & 0x3) { -#ifdef __POWERPC__ *((unsigned long *)((surf)+(column*lPitch)+(row<<2))) = (*(pD+0)<<16)|(*(pD+1)<<8)|*(pD+2); -#else - *((unsigned long *)((surf)+(column*lPitch)+(row<<2))) = - (*(pD+2)<<16)|(*(pD+1)<<8)|*(pD+0); -#endif + pD+=3; row++; } |
