Guillem96 / argon-nx

🚀 GUI payload chainloader for Nintendo Swtich.
GNU General Public License v2.0
169 stars 35 forks source link

Use Vol + instead vol - to cancel autolaunch #29

Closed Guillem96 closed 5 years ago

mrdude2478 commented 5 years ago

In main.c - change code to this:

/* Mount Sd card and launch payload */
if (sd_mount())
{
    bool cancel_auto_chainloading = btn_read() & BTN_VOL_UP;
    bool load_menu = cancel_auto_chainloading || launch_payload("argon/payload.bin");

This will allow the following: Power+short volume + press (run designated payload.bin), Power + long press on volume + (run Argon menu).