Homebrew Homebrew app Homebrew app just opens and closes

redblackcat

New Member
OP
Newbie
Joined
May 11, 2023
Messages
4
Trophies
0
XP
10
Country
United States
So I homebrewed my new 2DS XL (via Luma3DS) and it worked perfectly. I have some homebrew apps already installed, and i tried to make my own.

I have the program up and running, the title and icon both work, but it just gives me a black screen for about 4 seconds, and then returns to the HB launcher.
Here's my code:

1683835122310.png


And the two built SMDH and 3DSX files are in a folder called "TestAppHB", like this:

1683835195910.png


As I said, it loads up and shows as an app on the HB menu fine, but when I run it, it doesn't work.
 

fluffycat420

Member
Newcomer
Joined
Feb 7, 2023
Messages
11
Trophies
0
Age
15
XP
106
Country
Canada
i think you need opeing curly brackets from the beginning of the if kdown statement like this

if (kDown & KEY_START);
{
break; //Break in order to return to hbmenu
}

you might not need a semi colon at the end of your if statement too btw
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Hope they made lots of spaget