Disabled unfinished IP input, fixed vblank
This commit is contained in:
parent
1e8bcda13e
commit
2fc8de0f73
1 changed files with 4 additions and 3 deletions
|
@ -39,19 +39,20 @@ int main(void) {
|
||||||
|
|
||||||
if(!readSettings()) {
|
if(!readSettings()) {
|
||||||
while(aptMainLoop()) {
|
while(aptMainLoop()) {
|
||||||
gspWaitForVBlank();
|
|
||||||
hidScanInput();
|
hidScanInput();
|
||||||
|
|
||||||
clearScreen();
|
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();
|
u32 kHeld = hidKeysHeld();
|
||||||
if((kHeld & KEY_START) && (kHeld & KEY_SELECT)) goto exit;
|
if((kHeld & KEY_START) && (kHeld & KEY_SELECT)) goto exit;
|
||||||
|
|
||||||
gfxFlushBuffers();
|
gfxFlushBuffers();
|
||||||
|
gspWaitForVBlank();
|
||||||
gfxSwapBuffers();
|
gfxSwapBuffers();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue