SaturnRingLibrary
0.9.2
SGL wrapper
Loading...
Searching...
No Matches
◆
operator~()
[2/2]
Interrupt::Status
SRL::operator~
(
Interrupt::Status
a
)
constexpr
Bitwise NOT operator for
Interrupt::Status
.
Parameters
a
Status to invert
Returns
Inverted status with all bits flipped
Example:
// Check for any status except V-Blank
if
(status & ~
Interrupt::Status::VBlankIn
) {
// Some interrupt other than V-Blank is active
}
SRL::Interrupt::Status::VBlankIn
@ VBlankIn
V-Blank In occurred (0x0001).
Definition
srl_interrupt.hpp:161
SRL