summaryrefslogtreecommitdiff
path: root/macosx/PcsxrController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-10-31 01:25:35 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-10-31 01:25:35 +0000
commitf4092dc959d0380d3a440d0bcfcbeef082235916 (patch)
tree077e55a4f0ef32737be1f7505eb2afd155577208 /macosx/PcsxrController.m
parent239ab668a152342afd89f8ef8d41bee525b4c0fa (diff)
downloadpcsxr-f4092dc959d0380d3a440d0bcfcbeef082235916.tar.gz
Break out of the file handling loop when we reach a handle.
Work on the Disc handler, making it say that the disc cover was open when loading another disc. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80820 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/PcsxrController.m')
-rw-r--r--macosx/PcsxrController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/PcsxrController.m b/macosx/PcsxrController.m
index 66861ada..20f4d93d 100644
--- a/macosx/PcsxrController.m
+++ b/macosx/PcsxrController.m
@@ -555,6 +555,8 @@ static NSString *HandleBinCue(NSString *toHandle)
}
if (canHandle) {
isHandled = [hand handleFile:HandleBinCue(filename)];
+ [hand release];
+ break;
}
[hand release];