From 3fc56dbe4ad7e9deaeaef8c209a68e1de986f6fa Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 19 Feb 2011 02:25:15 +0000 Subject: -Reverted some changes to make the code build again on Tiger. -Removed x86_64 from Deployment configuration. -macosx: Use SDL for sound plugin, removed Carbon backend. -(MaddTheSane)Fixed memory leaks (Patch #8427). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63548 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Plugin.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'macosx/Plugin.c') diff --git a/macosx/Plugin.c b/macosx/Plugin.c index 4710b057..9b83da68 100644 --- a/macosx/Plugin.c +++ b/macosx/Plugin.c @@ -80,7 +80,10 @@ int _OpenPlugins() { pathUrl = CFBundleCopyResourceURL(CFBundleGetMainBundle(), CFSTR("gpuPeopsSoftX.cfg"), NULL, NULL); if (pathUrl) + { CFURLGetFileSystemRepresentation(pathUrl, true, path, 1024); + CFRelease(pathUrl); + } ret = CDR_open(); if (ret < 0) { SysMessage(_("Error Opening CDR Plugin")); return -1; } -- cgit v1.2.3