diff options
| author | iCatButler <i.am.catbutler@gmail.com> | 2018-03-13 17:23:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-13 17:23:50 +0000 |
| commit | 15fe3782c1375634b7a9bd9bbbadfd75e7b06fed (patch) | |
| tree | 6660b9aeb3f4aedf384a0a1c76d3a849d4f43146 /macosx/Source/hotkeys.m | |
| parent | 540dccfdbd162f247d2390ac35df4144b28aab44 (diff) | |
| parent | 13c17e4b6ef1eee9ad60d3db2016ebb8e54bf337 (diff) | |
| download | pcsxr-15fe3782c1375634b7a9bd9bbbadfd75e7b06fed.tar.gz | |
Merge pull request #5 from MrLavender/master
Fix 64-bit dynarec integration and update OS X build
Diffstat (limited to 'macosx/Source/hotkeys.m')
| -rw-r--r-- | macosx/Source/hotkeys.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/Source/hotkeys.m b/macosx/Source/hotkeys.m index 96d89e8b..9945ea29 100644 --- a/macosx/Source/hotkeys.m +++ b/macosx/Source/hotkeys.m @@ -127,7 +127,11 @@ void attachHotkeys() { // GPU key presses NSEvent* (^gpuKeypress)(NSEvent*) = ^(NSEvent *event) { if (event.modifierFlags & NSControlKeyMask) { - GPU_keypressed([event keyCode]); + if ([event keyCode] == 0x67) { // F11 + GPU_toggleDebug(); + } else { + GPU_keypressed([event keyCode]); + } return (NSEvent*)nil; } else { return event; |
