mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Wiiusesrc: Alot more back porting. Still needs more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4308 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0e3baaa6ab
commit
035155754e
9 changed files with 244 additions and 53 deletions
3
Externals/WiiUseSrc/Src/classic.c
vendored
3
Externals/WiiUseSrc/Src/classic.c
vendored
|
@ -179,6 +179,9 @@ static void classic_ctrl_pressed_buttons(struct classic_ctrl_t* cc, short now) {
|
|||
/* message is inverted (0 is active, 1 is inactive) */
|
||||
now = ~now & CLASSIC_CTRL_BUTTON_ALL;
|
||||
|
||||
/* preserve old btns pressed */
|
||||
cc->btns_last = cc->btns;
|
||||
|
||||
/* pressed now & were pressed, then held */
|
||||
cc->btns_held = (now & cc->btns);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue