fix osx build, and first step to get real wiimotes on osx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-02-16 21:12:00 +00:00
parent 82a10c9692
commit cf8220dc9c
6 changed files with 23 additions and 3 deletions

View File

@ -124,9 +124,11 @@ struct wiimote_t** wiiuse_init(int wiimotes) {
wm[i]->unid = i+1;
#ifndef WIN32
#if !defined(__APPLE__)
wm[i]->bdaddr = *BDADDR_ANY;
wm[i]->out_sock = -1;
wm[i]->in_sock = -1;
#endif
#else
wm[i]->dev_handle = 0;
wm[i]->stack = WIIUSE_STACK_UNKNOWN;