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
aFirst status value
bSecond status value
Returns
New status with bits set from either operand

Example:

@ VBlankIn
V-Blank In occurred (0x0001).
Definition srl_interrupt.hpp:161
@ HBlankIn
H-Blank In occurred (0x0004).
Definition srl_interrupt.hpp:167