Disabled unfinished IP input, fixed vblank

This commit is contained in:
CTurt 2014-12-15 20:47:00 +00:00
parent 1e8bcda13e
commit 2fc8de0f73

View file

@ -39,19 +39,20 @@ int main(void) {
if(!readSettings()) {
while(aptMainLoop()) {
gspWaitForVBlank();
hidScanInput();
clearScreen();
drawString(10, 10, "Failed to read settings! Input IP now!");
drawString(10, 10, "Bad ini! Start and Select to quit!");
inputIP();
//drawString(10, 10, "Failed to read settings! Input IP now!");
//inputIP();
u32 kHeld = hidKeysHeld();
if((kHeld & KEY_START) && (kHeld & KEY_SELECT)) goto exit;
gfxFlushBuffers();
gspWaitForVBlank();
gfxSwapBuffers();
}
}