slackbuilds_ponce/multimedia/xbmc/patches/cwiid-old-api.patch
Larry Hajali 18b442c44c multimedia/xbmc: Updated for version 12.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2013-02-22 22:27:47 -06:00

16 lines
703 B
Diff

diff -Naur xbmc-12.0.orig/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp xbmc-12.0/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp
--- xbmc-12.0.orig/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp 2013-01-29 14:20:27.000000000 +0000
+++ xbmc-12.0/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp 2013-02-02 23:13:08.422456751 +0000
@@ -100,9 +100,11 @@
g_WiiRemote.ProcessNunchuck(mesg[i].nunchuk_mesg);
break;
case CWIID_MESG_ACC:
- case CWIID_MESG_BALANCE:
case CWIID_MESG_CLASSIC:
+#ifndef CWIID_OLD
+ case CWIID_MESG_BALANCE:
case CWIID_MESG_MOTIONPLUS:
+#endif
//Not implemented
break;
case CWIID_MESG_UNKNOWN: