cps3: fix jojo "all attack" button
This commit is contained in:
parent
d4aa29134f
commit
84f888884d
|
@ -2096,12 +2096,12 @@ INT32 cps3Frame()
|
||||||
if (strncmp(BurnDrvGetTextA(DRV_NAME), "jojo", 4) == 0) {
|
if (strncmp(BurnDrvGetTextA(DRV_NAME), "jojo", 4) == 0) {
|
||||||
if (Cps3Input[3] & (1 << 2)) { // p1 'all attacks' button
|
if (Cps3Input[3] & (1 << 2)) { // p1 'all attacks' button
|
||||||
Cps3Input[3] &= ~(1 << 2); // clear 'all attacks' button
|
Cps3Input[3] &= ~(1 << 2); // clear 'all attacks' button
|
||||||
Cps3Input[1] |= (1 << 4) | (1 << 5) | (1 << 6); // press Weak, Medium, and Strong attack buttons
|
Cps3Input[0] |= (1 << 4) | (1 << 5) | (1 << 6); // press Weak, Medium, and Strong attack buttons
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Cps3Input[3] & (1 << 5)) { // p2 'all attacks' button
|
if (Cps3Input[3] & (1 << 5)) { // p2 'all attacks' button
|
||||||
Cps3Input[3] &= ~(1 << 5); // clear 'all attacks' button
|
Cps3Input[3] &= ~(1 << 5); // clear 'all attacks' button
|
||||||
Cps3Input[1] |= (1 << 12) | (1 << 13) | (1 << 14); // press Weak, Medium, and Strong attack buttons
|
Cps3Input[0] |= (1 << 12) | (1 << 13) | (1 << 14); // press Weak, Medium, and Strong attack buttons
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue