Format:
Recent snippets matching tags of libnds
#include <nds.h> // Explanation: // The following code shows the problem. There are two allocations each yielding // different adresses. One memory location is filled with red pixels, the other // is filled with blue pixels. They are then rendered, however you will see two // red sprites instead of a red and a blue. The reason is that the second // allocation is not aligned to the boundaries implied by // SpriteMapping_Bmp_1d_128 meaning that when the oam stores the memory adresses // as an offset based on the boundary size, both offsets are truncated to the
233 Views
1 comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
