tile graphics wont reload
Posted: Sun Feb 14, 2010 4:06 pm
In a program that I am creating, one screen of tiles is replaced with another screen of tiles
To use this I use:
to copy the tile map (mapx) to the background.
When simulated using DeSmuMe, this works fine, but when I try it on an actual nintendo ds, some of the tiles (completely random) from the previous screen remain in the new screen.
Does anyone know why this is happening or how to solve it
Thanks in advance
To use this I use:
Code: Select all
dmaCopy(mapx, bgGetMapPtr(bg), sizeof(mapx));
When simulated using DeSmuMe, this works fine, but when I try it on an actual nintendo ds, some of the tiles (completely random) from the previous screen remain in the new screen.
Does anyone know why this is happening or how to solve it
Thanks in advance