From 720d4be596d3aa7529d9e97eacb744e90b4a8e3f Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Fri, 8 Feb 2013 19:25:55 +0000 Subject: Applying patch 13817. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82774 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/ppf.c | 2 +- macosx/plugins/DFXVideo/macsrc/PluginGLView.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c index 66323780..ab93bbe7 100755 --- a/libpcsxcore/ppf.c +++ b/libpcsxcore/ppf.c @@ -207,7 +207,7 @@ void BuildPPFCache() { buffer[10] = CdromId[8]; buffer[11] = '\0'; - sprintf(szPPF, "%s%s", Config.PatchesDir, buffer); + sprintf(szPPF, "%s/%s", Config.PatchesDir, buffer); ppffile = fopen(szPPF, "rb"); if (ppffile == NULL) return; diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m index d863fa23..da646bbf 100755 --- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m @@ -606,8 +606,8 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) long y = PSXDisplay.DisplayPosition.y; GLuint lu; unsigned short row,column; - unsigned short dx=(unsigned short)PSXDisplay.DisplayEnd.x;//PreviousPSXDisplay.Range.x1; - unsigned short dy=(unsigned short)PSXDisplay.DisplayEnd.y;//PreviousPSXDisplay.DisplayMode.y; + unsigned short dx=PreviousPSXDisplay.Range.x1; + unsigned short dy=PreviousPSXDisplay.DisplayMode.y; long lPitch; //printf("y=%i",PSXDisplay.DisplayPosition.y); -- cgit v1.2.3