Hello, I'm starting with PrizmSDK, I'm doing a little test
Code:
When I press the Exit key it actually exits the add-on, but if I want to re-enter the add-on it simply shows the screen quickly and exits but does not wait for me to press the exit key again, I have to enter another add-on and so I re-enter myself. Try it and see if it works, what am I missing, thank you.
Code:
int main() {
int key;
Bdisp_AllClr_VRAM();
PrintXY(1, 3, " TEST", TEXT_MODE_NORMAL, TEXT_COLOR_BLACK);
while (1) {
GetKey(&key);
if (key == KEY_CTRL_EXIT) {
break;
}
}
return 0;
}
When I press the Exit key it actually exits the add-on, but if I want to re-enter the add-on it simply shows the screen quickly and exits but does not wait for me to press the exit key again, I have to enter another add-on and so I re-enter myself. Try it and see if it works, what am I missing, thank you.