vdp rendering, fix for CD (sprites from WORD RAM)

This commit is contained in:
kub 2020-03-27 19:22:19 +01:00
parent 82b3e6cf3c
commit bd73e6eec0
3 changed files with 35 additions and 35 deletions

View file

@ -28,7 +28,7 @@ PICO_INTERNAL void DmaSlowCell(unsigned int source, unsigned int a, int len, uns
asrc = cell_map(source >> 2) << 2;
asrc |= source & 2;
// if(a&1) d=(d<<8)|(d>>8); // ??
r[a>>1] = *(u16 *)(base + asrc);
VideoWriteVRAM(a, *(u16 *)(base + asrc));
source += 2;
// AutoIncrement
a=(u16)(a+inc);