mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
Fix bitwise operation precedence.
This commit is contained in:
@ -234,7 +234,7 @@ void SetIRQ14(int source) // 0=USCOMPARE 1=BEACONCOUNT 2=forced
|
||||
|
||||
if (BlockBeaconIRQ14 && source == 1)
|
||||
return;
|
||||
if (!(IOPORT(W_USCompareCnt)) & 0x0001)
|
||||
if (!(IOPORT(W_USCompareCnt) & 0x0001))
|
||||
return;
|
||||
|
||||
SetIRQ(14);
|
||||
|
Reference in New Issue
Block a user