From 4ae23f11012be9ccdce399639ee5d4f44fd5a74c Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 2 Nov 2009 08:31:27 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@34798 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFXVideo/macsrc/PluginGLView.m | 33 ++++++++++++++++----------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'macosx/plugins/DFXVideo/macsrc/PluginGLView.m') diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m index 79d55595..a27f641f 100644 --- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m @@ -563,14 +563,19 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) for(column=0;column>1); + ((unsigned long *)surf) + (PreviousPSXDisplay.Range.x0 >> 1); - dx>>=1; + dx >>= 1; LineOffset = 512 - dx; - SurfOffset = (lPitch>>2) - dx; + SurfOffset = (lPitch >> 2) - dx; for(column=0;column>10)&0x1f001f); + ((lu << 10) & 0x7c007c00)| + ((lu) & 0x3e003e0)| + ((lu >> 10) & 0x1f001f); } SRCPtr += LineOffset; DSTPtr += SurfOffset; -- cgit v1.2.3