summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-09-23 19:24:03 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-09-23 19:24:03 +0000
commitbda521f3a4c42277160381ddfbfb8e42b7e87274 (patch)
tree2f09725f74d05c9f1cc9d15cf603d5573414d534 /macosx/ConfigurationController.m
parent148ac41c4d75acd6df08ef8ce204235b1e09e921 (diff)
downloadpcsxr-bda521f3a4c42277160381ddfbfb8e42b7e87274.tar.gz
Changing encoding of c strings returned for the linker on OS X to ASCII: I doubt the Mach-O file format is in UTF-8
Fixing releasing when the parent's class init fails: The proper way is to pass null when that happens, not release then pass null. Using fast enumeration where possible. Modified the bin/cue handling to also find the bin for .toc files. Note that there isn't a UTI for .toc files yet. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79980 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/ConfigurationController.m')
-rw-r--r--macosx/ConfigurationController.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m
index 1820b8e9..42eeee89 100644
--- a/macosx/ConfigurationController.m
+++ b/macosx/ConfigurationController.m
@@ -127,10 +127,9 @@ NSString *memChangeNotifier = @"PcsxrMemoryCardDidChangeNotifier";
if ([sender pullsDown]) {
NSArray *items = [sender itemArray];
- NSUInteger i;
-
- for (i = 0; i < [items count]; i++)
- [[items objectAtIndex:i] setState:NSOffState];
+ for (id object in items) {
+ [object setState:NSOffState];
+ }
[[sender selectedItem] setState:NSOnState];
}