SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches

◆ SetInterruptMask()

void SRL::System::SetInterruptMask ( uint32_t mask)
inlinestatic

Replace the entire SCU interrupt mask.

Parameters
maskNew bitmask - set bits disable the corresponding interrupt source

Calls the BIOS entry at 0x6000340.

Example:
// Enable only V-Blank In (disable everything else)
@ VBlankIn
Enable V-Blank In interrupt (0x0001).
Definition srl_interrupt.hpp:88
static void SetInterruptMask(uint32_t mask)
Replace the entire SCU interrupt mask.
Definition srl_system.hpp:264
See also
Interrupt::SetMask() for the type-safe enum wrapper