devkitPro / 3ds-hbmenu

The 3DS Homebrew Menu (∩ ͡° ͜ʖ ͡°)⊃━☆゚
720 stars 76 forks source link

Exiting from a homebrew will return to the Home Menu #14

Closed NexoCube closed 7 years ago

NexoCube commented 7 years ago

while(aptMainLoop()) { hidScanInput(); if(hidKeysDown() & KEY_START) break;

    gfxFlushBuffers();
    gfxSwapBuffers();
    gspWaitForVBlank();
}

aptExit();
nsExit();
gfxExit();
return 0;

This piece of code will return to the Home Menu, on smealum HBM, it returns to the HBMenu, and on this one it directly exits to the Home Menu :(

NexoCube commented 7 years ago

I'm so sorry, i didn't read correctly the README

fincs commented 7 years ago

You need to recompile your homebrew app using upstream libctru (a stable release will be rolled soon) for that to work with Rosalina (unrelated to new-hbmenu).

NexoCube commented 7 years ago

What do you mean by upstream ? My english is trash, i'm french lol

fincs commented 7 years ago

It means to grab the latest commit from the master branch: https://github.com/smealum/ctrulib

NexoCube commented 7 years ago

That's what i figured out, thanks, it's working :D