Added converted car data and modified source to show car sprite.
This commit is contained in:
parent
9b713b8edf
commit
947e477090
|
@ -56,7 +56,7 @@ int main(void)
|
||||||
SetMode( MODE_4 | BG2_ON | OBJ_ON | OBJ_1D_MAP );
|
SetMode( MODE_4 | BG2_ON | OBJ_ON | OBJ_1D_MAP );
|
||||||
|
|
||||||
CpuFastSet(car_bin, BITMAP_OBJ_BASE_ADR, COPY32 | car_bin_size/4);
|
CpuFastSet(car_bin, BITMAP_OBJ_BASE_ADR, COPY32 | car_bin_size/4);
|
||||||
CpuFastSet(car_pal_bin, OBJ_COLORS, COPY32 | car_pal_bin_size/4);
|
// CpuFastSet(car_pal_bin, OBJ_COLORS, COPY32 | car_pal_bin_size/4);
|
||||||
|
|
||||||
memset(&car, 0, sizeof(car));
|
memset(&car, 0, sizeof(car));
|
||||||
car.attr2 = OBJ_CHAR(512);
|
car.attr2 = OBJ_CHAR(512);
|
||||||
|
|
Reference in New Issue