diff --git a/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp b/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp index 5e16a32a9a..0db9e26d49 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_Carbon.cpp @@ -79,7 +79,7 @@ public: JoystickDevice(); ~JoystickDevice(); - bool Open( io_object_t device, int foo, void *bar ); + bool Open( io_object_t device ); // returns the number of IDs assigned starting from startID int AssignJoystickIDs( int startID ); void StartQueue(CFRunLoopRef loopRef, int num, InputHandler_Carbon *handler); @@ -92,7 +92,7 @@ JoystickDevice::JoystickDevice() : mInterface(NULL), mQueue(NULL), mRunning(fals { } -bool JoystickDevice::Open( io_object_t device, int foo, void *bar ) +bool JoystickDevice::Open( io_object_t device ) { IOReturn ret; CFMutableDictionaryRef properties; @@ -602,7 +602,7 @@ InputHandler_Carbon::InputHandler_Carbon() : mSem("Input thread started") { JoystickDevice *jd = new JoystickDevice; - if( jd->Open(device, 0, this) ) + if( jd->Open(device) ) { id += jd->AssignJoystickIDs( id ); mDevices.push_back( jd );