Commit better wiiuse compiles, the ones in last commit may have been switched around by git on me. Add MotionPlus to the statesave so it won't be a bother later, and uncomment some things so accessing it doesn't cause PanicAlerts

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4612 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-11-26 05:01:24 +00:00
parent 574a03b1e1
commit 8405c4049d
12 changed files with 26 additions and 66 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -204,9 +204,9 @@ int wiiuse_io_read(struct wiimote_t* wm) {
}
// This needs to be done even if ReadFile fails, essential during init
// Move the data over one, so we can add back in 0xa2
// Move the data over one, so we can add back in data report indicator byte (here, 0xa1)
memmove(wm->event_buf + 1, wm->event_buf, sizeof(wm->event_buf) - 1);
wm->event_buf[0] = 0xa2;
wm->event_buf[0] = 0xa1;
ResetEvent(wm->hid_overlap.hEvent);
return 1;