When I use VDP_fadeIn function for the first time, it works just fine. But at second and further times, this function works way-way faster. So fast, i need to times the value x10 to slow it down a bit. Is it a bug or just me?
![Smile :)](./images/smilies/icon_smile.gif)
Moderator: Stef
Code: Select all
if (changed & state & BUTTON_START)
{
VDP_fadeOut(0, 16, 30, FALSE);
Scene_CodeScreen();
}
Fixed link, thanksHik wrote:Also you can put dl=1 in the link for direct download.
Code: Select all
void Scene_CodeScreen()
{
...
JOY_setEventHandler(Ctrl_CodeScreen);
}
void Ctrl_CodeScreen(u16 joy, u16 changed, u16 state)
{
if (CheatCounter0...)
{
...
Scene_CodeScreen();
}
else if (changed & state & BUTTON_START)
{
...
Scene_CodeScreen();
}
}
Yep, this is what i did and now i got rid of this bug.Stef wrote:at least call it with async parameter set to TRUE in this case