mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06: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:
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;
|
||||
|
Reference in New Issue
Block a user