diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-12 17:37:00 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-09-12 17:37:00 +0000 |
| commit | 6d34781f490cb921edff2f822b87117c32bc9fc1 (patch) | |
| tree | d3c650239c33b64dcea0d0ce7ee946d1131cf4c9 /macosx/plugins/DFInput/macsrc/PadController.m | |
| parent | 59132f7e4e49b3d0147c39632d3b3fa6cf8854c7 (diff) | |
| download | pcsxr-6d34781f490cb921edff2f822b87117c32bc9fc1.tar.gz | |
Slight modification to OS X's pad plug-in code.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87141 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/PadController.m')
| -rwxr-xr-x | macosx/plugins/DFInput/macsrc/PadController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/plugins/DFInput/macsrc/PadController.m b/macosx/plugins/DFInput/macsrc/PadController.m index 06b1f05a..b35e7439 100755 --- a/macosx/plugins/DFInput/macsrc/PadController.m +++ b/macosx/plugins/DFInput/macsrc/PadController.m @@ -311,7 +311,7 @@ void LoadPADConfig() void SavePADConfig() { NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; - NSMutableDictionary *pad1Dict = nil, *pad2Dict = nil; + NSMutableDictionary *pad1Dict, *pad2Dict; NSDictionary *prefDict = [defaults dictionaryForKey:PrefsKey]; pad1Dict = [[NSMutableDictionary alloc] initWithDictionary:prefDict[kDFPad1]]; pad2Dict = [[NSMutableDictionary alloc] initWithDictionary:prefDict[kDFPad2]]; |
