Removed unused code.
This commit is contained in:
parent
cf15357668
commit
4716d0f60a
|
@ -68,15 +68,10 @@ int main(void)
|
||||||
sprite.attr1 = OBJ_X(147);
|
sprite.attr1 = OBJ_X(147);
|
||||||
sprite.attr2 = OBJ_CHAR(512);
|
sprite.attr2 = OBJ_CHAR(512);
|
||||||
|
|
||||||
u16* dst, *src;
|
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
VBlankIntrWait();
|
VBlankIntrWait();
|
||||||
|
|
||||||
sprite.attr0 = OBJ_256_COLOR | OBJ_Y(frame);
|
sprite.attr0 = OBJ_256_COLOR | OBJ_Y(frame);
|
||||||
dst = (u16*)OAM;
|
|
||||||
src = (u16*)&sprite;
|
|
||||||
CpuFastSet(&sprite, OAM, COPY32 | sizeof(sprite)/4);
|
CpuFastSet(&sprite, OAM, COPY32 | sizeof(sprite)/4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue