mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 11:46:27 +00:00
Tiny work in Wiimote Linux, with an extension plugged in, the game tries reading accel data and maybe extension data, too bad the games fail to actually read the information though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3565 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5c7fc8ed7b
commit
f49e479d09
2 changed files with 10 additions and 9 deletions
2
Externals/WiiUseSrc/Src/io_nix.c
vendored
2
Externals/WiiUseSrc/Src/io_nix.c
vendored
|
@ -317,7 +317,7 @@ int wiiuse_io_read(struct wiimote_t* wm) {
|
|||
wiiuse_disconnected(wm);
|
||||
return 0;
|
||||
}
|
||||
memcpy(wm->event_buf, &wm->event_buf[1], sizeof(wm->event_buf) - 1);
|
||||
memcpy(wm->event_buf, &wm->event_buf[1], r - 1);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue