source/graphics.c
void sprite_update_all() {
    /* point a short* into the array of structs */
    unsigned short* temp = (unsigned short*) sprites; 

    /* copy them all over */
    for(int i = 0; i < 128 * 4; i++) {
        OBJECT_ATTRIBUTE_MEMOORY[i] = temp[i]; 
    }
}
/* update all of the spries on the screen */
update all of the spries on the screen
update all of the spries on the screen
void sprite_update_all() {
    unsigned short* temp = (unsigned short*) sprites; 
    for(int i = 0; i < 128 * 4; i++) {
        OBJECT_ATTRIBUTE_MEMOORY[i] = temp[i]; 
    }
}
void sprite_update_all ( ) { unsigned short * temp = ( unsigned short * ) sprites ; for ( int i = 0 ; i < 128 * 4 ; i ++ ) { OBJECT_ATTRIBUTE_MEMOORY [ i ] = temp [ i ] ; } }
update all of the spries on the screen
update all of the spries on the screen
/* point a short* into the array of structs */ /* copy them all over */