From 394c8136b46ab30075b97abc4239dd00e9eb689e Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Tue, 3 Nov 2009 08:01:07 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@35184 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFXVideo/macsrc/PluginGLView.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'macosx/plugins/DFXVideo/macsrc') 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++; } -- cgit v1.2.3