diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-06-26 05:13:18 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-06-26 05:13:18 +0000 |
| commit | 7ab7abce029631c5a5127b8de9bb068d887c81ef (patch) | |
| tree | 3cacf01c4fa92e49389fd60e80a2c0cc263d352f /macosx/CheatController.m | |
| parent | e80786f8fa5438eb331c9da542064cf876a956aa (diff) | |
| download | pcsxr-7ab7abce029631c5a5127b8de9bb068d887c81ef.tar.gz | |
Getting rid of commented-out code.
Other minor changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85565 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/CheatController.m')
| -rw-r--r-- | macosx/CheatController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/CheatController.m b/macosx/CheatController.m index edc23a98..ebb0d4b9 100644 --- a/macosx/CheatController.m +++ b/macosx/CheatController.m @@ -33,10 +33,10 @@ return nil; NSString *ident = [col identifier]; if ([ident isEqualToString:@"COL_NAME"]) { - return [NSString stringWithCString:Cheats[idx].Descr encoding:NSUTF8StringEncoding]; + return @(Cheats[idx].Descr); } if ([ident isEqualToString:@"COL_ENABLE"]) { - return [NSNumber numberWithInt: Cheats[idx].Enabled ? NSOnState : NSOffState]; + return @(Cheats[idx].Enabled ? NSOnState : NSOffState); } NSLog(@"Unknown column identifier: %@", ident); return nil; |
