| 433 | } |
| 434 | |
| 435 | u32 SISetXY(u32 x, u32 y) |
| 436 | { |
| 437 | u32 poll; |
| 438 | BOOL enabled; |
| 439 | |
| 440 | poll = x << 16; |
| 441 | poll |= y << 8; |
| 442 | |
| 443 | enabled = OSDisableInterrupts(); |
| 444 | Si.poll &= ~(0x03ff0000 | 0x0000ff00); |
| 445 | Si.poll |= poll; |
| 446 | poll = Si.poll; |
| 447 | __SIRegs[12] = poll; |
| 448 | OSRestoreInterrupts(enabled); |
| 449 | return poll; |
| 450 | } |
| 451 | |
| 452 | u32 SIEnablePolling(u32 poll) |
| 453 | { |
no test coverage detected