From c889e7ca314bcde4b910e98d439930a7e21e5c0b Mon Sep 17 00:00:00 2001 From: yellows8 Date: Sun, 18 Feb 2018 12:30:25 -0500 Subject: [PATCH] Imported ret2hbmenu comment from 3ds-examples. --- audio/playtone/source/main.c | 2 +- graphics/printing/hello-world/source/main.c | 2 +- graphics/simplegfx/source/main.c | 2 +- hid/irsensor/source/main.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/playtone/source/main.c b/audio/playtone/source/main.c index 135e706..f8a9203 100644 --- a/audio/playtone/source/main.c +++ b/audio/playtone/source/main.c @@ -64,7 +64,7 @@ int main(int argc, char **argv) //Scan all the inputs. This should be done once for each frame hidScanInput(); - if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; + if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; // break in order to return to hbmenu if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_A) { diff --git a/graphics/printing/hello-world/source/main.c b/graphics/printing/hello-world/source/main.c index efbf3b6..f34df36 100644 --- a/graphics/printing/hello-world/source/main.c +++ b/graphics/printing/hello-world/source/main.c @@ -20,7 +20,7 @@ int main(int argc, char **argv) //Scan all the inputs. This should be done once for each frame hidScanInput(); - if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; + if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; // break in order to return to hbmenu gfxFlushBuffers(); gfxSwapBuffers(); diff --git a/graphics/simplegfx/source/main.c b/graphics/simplegfx/source/main.c index 2ba5960..d571a28 100644 --- a/graphics/simplegfx/source/main.c +++ b/graphics/simplegfx/source/main.c @@ -29,7 +29,7 @@ int main(int argc, char **argv) //Scan all the inputs. This should be done once for each frame hidScanInput(); - if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; + if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; // break in order to return to hbmenu u32 width, height; u32 pos; diff --git a/hid/irsensor/source/main.c b/hid/irsensor/source/main.c index 24d27fb..d851ae5 100644 --- a/hid/irsensor/source/main.c +++ b/hid/irsensor/source/main.c @@ -35,7 +35,7 @@ int main(int argc, char **argv) //Scan all the inputs. This should be done once for each frame hidScanInput(); - if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; + if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_PLUS) break; // break in order to return to hbmenu gfxFlushBuffers(); gfxSwapBuffers();