SaturnRingLibrary
0.9.2
SGL wrapper
Loading...
Searching...
No Matches
◆
operator|()
[2/2]
Interrupt::Status
SRL::operator|
(
Interrupt::Status
a
,
Interrupt::Status
b
)
constexpr
Bitwise OR operator for
Interrupt::Status
.
Parameters
a
First status value
b
Second status value
Returns
New status with bits set from either operand
Example:
auto
status =
Interrupt::Status::VBlankIn
|
Interrupt::Status::HBlankIn
;
SRL::Interrupt::Status::VBlankIn
@ VBlankIn
V-Blank In occurred (0x0001).
Definition
srl_interrupt.hpp:161
SRL::Interrupt::Status::HBlankIn
@ HBlankIn
H-Blank In occurred (0x0004).
Definition
srl_interrupt.hpp:167
SRL