Fix operator precedence bug

This commit is contained in:
tomcw 2017-05-14 12:06:41 +01:00
parent 344078a559
commit 04e9f6bdb9

View File

@ -1767,7 +1767,7 @@ _done_saturn:
modechanging = 0; modechanging = 0;
// NB. Must check MF_SLOTC3ROM too, as IoHandlerCardsIn() depends on both MF_SLOTCXROM|MF_SLOTC3ROM // NB. Must check MF_SLOTC3ROM too, as IoHandlerCardsIn() depends on both MF_SLOTCXROM|MF_SLOTC3ROM
if ((lastmemmode & MF_SLOTCXROM|MF_SLOTC3ROM) != (memmode & MF_SLOTCXROM|MF_SLOTC3ROM)) if ((lastmemmode & (MF_SLOTCXROM|MF_SLOTC3ROM)) != (memmode & (MF_SLOTCXROM|MF_SLOTC3ROM)))
{ {
if (SW_SLOTCXROM) if (SW_SLOTCXROM)
{ {