mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 01:40:22 +00:00
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:
parent
574a03b1e1
commit
8405c4049d
12 changed files with 26 additions and 66 deletions
4
Externals/WiiUseSrc/Src/io_win.c
vendored
4
Externals/WiiUseSrc/Src/io_win.c
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue