mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 23:29: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)
|
if (BlockBeaconIRQ14 && source == 1)
|
||||||
return;
|
return;
|
||||||
if (!(IOPORT(W_USCompareCnt)) & 0x0001)
|
if (!(IOPORT(W_USCompareCnt) & 0x0001))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
SetIRQ(14);
|
SetIRQ(14);
|
||||||
|
Reference in New Issue
Block a user