MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / SISetXY

Function SISetXY

src/dolphin/src/si/SIBios.c:435–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435u32 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
452u32 SIEnablePolling(u32 poll)
453{

Callers 1

SISetSamplingRateFunction · 0.85

Calls 1

OSDisableInterruptsFunction · 0.85

Tested by

no test coverage detected