SaturnRingLibrary
0.9.2
SGL wrapper
Loading...
Searching...
No Matches
◆
SetInterruptMask()
void SRL::System::SetInterruptMask
(
uint32_t
mask
)
inline
static
Replace the entire SCU interrupt mask.
Parameters
mask
New bitmask - set bits
disable
the corresponding interrupt source
Calls the BIOS entry at 0x6000340.
Example:
// Enable only V-Blank In (disable everything else)
System::SetInterruptMask
(~
static_cast<
uint32_t
>
(
Interrupt::Mask::VBlankIn
));
SRL::Interrupt::Mask::VBlankIn
@ VBlankIn
Enable V-Blank In interrupt (0x0001).
Definition
srl_interrupt.hpp:88
SRL::System::SetInterruptMask
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
SRL
System