#114536 - NeX - Mon Jan 08, 2007 9:17 pm
Ok, a simple function to transfer sprite data to the hardware. This works in C; Why not C++?
The main reason I'm using C++ is structs don't seem to function in C.
Code: |
dmaCopy(&characters_raw[((inputcha*16)+frame)*1024], &SPRITE_GFX[targetcha*512],1024); |
The main reason I'm using C++ is structs don't seem to function in C.