From bde1f035c1b045f1ed3b678b5545d1de8fb5cd85 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 10 Jul 2013 00:27:19 +0000 Subject: Define PADhandleKey in OS X's main.m file. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85952 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/main.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/macosx/main.m b/macosx/main.m index 7fd2b56c..5ed5619e 100755 --- a/macosx/main.m +++ b/macosx/main.m @@ -22,6 +22,8 @@ static BOOL sysInited = NO; //#define EMU_LOG static IOPMAssertionID powerAssertion = kIOPMNullAssertionID; +void PADhandleKey(int key); + static void LoadEmuLog() { if (emuLog == NULL) { @@ -227,8 +229,8 @@ void SysCloseLibrary(void *lib) { // Called periodically from the emu thread void SysUpdate() { #if 0 - PADhandleKey(PAD1_keypressed()); - PADhandleKey(PAD2_keypressed()); + PADhandleKey(PAD1_keypressed() & 0xffffffff); + PADhandleKey(PAD2_keypressed() & 0xffffffff); #else PAD1_keypressed(); PAD2_keypressed(); -- cgit v1.2.3