{\r
PicoMem.vram [(u16)a >> 1] = d;\r
\r
- if (!((u16)(a^SATaddr) & SATmask))\r
+ if (((a^SATaddr) & SATmask) == 0)\r
UpdateSAT(a, d);\r
}\r
\r
if (!((u16)(b^SATaddr) & SATmask))\r
Pico.est.rendstatus |= PDRAW_DIRTY_SPRITES;\r
\r
- if (!((u16)(a^SATaddr) & SATmask))\r
+ if (((a^SATaddr) & SATmask) == 0)\r
UpdateSAT(a, d);\r
}\r
\r
for (; len; len--)\r
{\r
vr[(u16)a] = vr[(u16)(source++)];\r
- if (!((u16)(a^SATaddr) & SATmask))\r
+ if (((a^SATaddr) & SATmask) == 0)\r
UpdateSAT(a, ((u16 *)vr)[(u16)a >> 1]);\r
// AutoIncrement\r
a = (a+inc) & ~0x20000;\r
// Write upper byte to adjacent address\r
// (here we are byteswapped, so address is already 'adjacent')\r
vr[(u16)a] = high;\r
- if (!((u16)(a^SATaddr) & SATmask))\r
+ if (((a^SATaddr) & SATmask) == 0)\r
UpdateSAT(a, ((u16 *)vr)[(u16)a >> 1]);\r
\r
// Increment address register\r