but not works
Code: Select all
void JoyHandler_titlescreen( u16 joy, u16 changed, u16 state)
{
while (!(state & BUTTON_START))
{
VDP_fillTileMapRectInc(APLAN, TILE_ATTR_FULL(PAL0, 0, 0, 0, 333), 14, 23, 12, 1);
waitMs(500);
VDP_clearTileMapRect (APLAN,14, 23, 12, 1);
waitMs(400);
VDP_waitVSync();
}
}
Should be blinking until you press start and stop when pressed to clean the screen in the main code
Note: the function WaitMs not works neither