SaturnRingLibrary
0.9.2
SGL wrapper
Loading...
Searching...
No Matches
◆
operator&()
[1/2]
Interrupt::Mask
SRL::operator&
(
Interrupt::Mask
a
,
Interrupt::Mask
b
)
constexpr
Bitwise AND operator for
Interrupt::Mask
.
Parameters
a
First mask value
b
Second mask value (used as a bitmask)
Returns
New mask with bits set where both operands have them set
Example:
auto
active = currentMask & Interrupt::Mask::VBlank;
SRL