From 6d22fc23d241b17c059b4582741bb49787c324a1 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sun, 18 Jan 2015 02:01:44 +0000 Subject: OS X: Fix pressing "i" making the emulator speeding up. This was caused by gpuKeypress in HandleKey to interpret the I key as GPU_FRAME_LIMIT. Having the block check for the NSControlKeyMask fixes this. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@92900 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Source/HotkeyController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macosx/Source/HotkeyController.m') diff --git a/macosx/Source/HotkeyController.m b/macosx/Source/HotkeyController.m index 58ec0fdd..ce3561c0 100644 --- a/macosx/Source/HotkeyController.m +++ b/macosx/Source/HotkeyController.m @@ -136,9 +136,9 @@ NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults] ; NSMutableDictionary *tempUserMappings = [NSMutableDictionary dictionaryWithDictionary:[defaults dictionaryForKey:@"HotkeyBindings"]]; [tempUserMappings setValue:@{@"device": device, - @"deviceName": deviceLabel, - @"keyCode": keyCode, - @"keyLabel": keyLabel} forKey:keyIdent]; + @"deviceName": deviceLabel, + @"keyCode": keyCode, + @"keyLabel": keyLabel} forKey:keyIdent]; [defaults setValue:tempUserMappings forKey:@"HotkeyBindings"]; } -- cgit v1.2.3