| 454 | static uint32 virtualboybuf[2]; |
| 455 | |
| 456 | static uint32 UpdateVirtualBoyData(int w) |
| 457 | { |
| 458 | uint32 r=0; |
| 459 | ButtConfig *virtualboytsc=virtualboysc[w]; |
| 460 | int x; |
| 461 | |
| 462 | for(x=0;x<14;x++) |
| 463 | if(DTestButton(&virtualboytsc[x])) r|=1<<x; |
| 464 | |
| 465 | return r; |
| 466 | } |
| 467 | |
| 468 | // Holds the button configurations for the LCD Compatible Zapper. |
| 469 | // Two collections of two buttons. |
no test coverage detected