summaryrefslogtreecommitdiff
path: root/plugins/peopsxgl/key.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-18 08:58:58 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-18 08:58:58 +0000
commit34cfcc5169cafa8ae9e0d6469e20dc11c122c077 (patch)
tree47ddff4f53156e888c370b12c405a6849a9cb2a6 /plugins/peopsxgl/key.c
parent394f7a2b4a604dc40cf29f23a7121deb19eed79c (diff)
downloadpcsxr-34cfcc5169cafa8ae9e0d6469e20dc11c122c077.tar.gz
-(SysBeep)Added Mac OS X port of P.E.Op.S OpenGL plugin. (Patch #8361)
-Fixed help message for Windows. (Issue #8028). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63522 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/peopsxgl/key.c')
-rw-r--r--plugins/peopsxgl/key.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/peopsxgl/key.c b/plugins/peopsxgl/key.c
index 25afa172..dba1c839 100644
--- a/plugins/peopsxgl/key.c
+++ b/plugins/peopsxgl/key.c
@@ -46,6 +46,7 @@ uint32_t ulKeybits = 0;
void GPUkeypressed(int keycode)
{
+/* arrives via the input plugin, so who knows what thread you're in */
switch(keycode)
{
case VK_F5:
@@ -78,6 +79,9 @@ void GPUkeypressed(int keycode)
case VK_NEXT: BuildDispMenu( 1); break;
case VK_END: SwitchDispMenu( 1); break;
case VK_HOME: SwitchDispMenu(-1); break;
+#if defined (_MACGL)
+ default: { void HandleKey(int keycode); HandleKey(keycode); };
+#endif
}
}