\r
int (*PicoDmaHook)(unsigned int source, int len, unsigned short **srcp, unsigned short **limitp) = NULL;\r
\r
-static __inline void AutoIncrement(void)\r
+static INLINE void AutoIncrement(void)\r
{\r
Pico.video.addr=(unsigned short)(Pico.video.addr+Pico.video.reg[0xf]);\r
}\r
if (inc == 2 && !(a&1) && a+len*2 < 0x10000)\r
{\r
// most used DMA mode\r
- memcpy16(r + (a>>1), pd, len);\r
+ pmemcpy16(r + (a>>1), pd, len);\r
a += len*2;\r
}\r
else\r