#44290 - Pacifist - Tue May 31, 2005 6:22 pm
So I discovered yesterday that the DS stores the palette for backgrounds along with the tiles.
I store my tiles in the first first block of memory and the map in the second block.
This works fine until my tile data starts breaking into the 2nd section of the first block. Apparently the first bytes of this section are used to store the palette as now my tiles are replaced with the palette info.
I am planning to store my tiles 'around' the palette. That is, break them into two chunks, one stored before the palette and one stored after the palette.
Is there a cleaner, more standard, solution?
I store my tiles in the first first block of memory and the map in the second block.
This works fine until my tile data starts breaking into the 2nd section of the first block. Apparently the first bytes of this section are used to store the palette as now my tiles are replaced with the palette info.
I am planning to store my tiles 'around' the palette. That is, break them into two chunks, one stored before the palette and one stored after the palette.
Is there a cleaner, more standard, solution?