mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 13:22:40 +02:00
Imported ret2hbmenu comment from 3ds-examples.
This commit is contained in:
parent
722eb38192
commit
c889e7ca31
@ -64,7 +64,7 @@ int main(int argc, char **argv)
|
|||||||
//Scan all the inputs. This should be done once for each frame
|
//Scan all the inputs. This should be done once for each frame
|
||||||
hidScanInput();
|
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)
|
if (hidKeysDown(CONTROLLER_P1_AUTO) & KEY_A)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,7 @@ int main(int argc, char **argv)
|
|||||||
//Scan all the inputs. This should be done once for each frame
|
//Scan all the inputs. This should be done once for each frame
|
||||||
hidScanInput();
|
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();
|
gfxFlushBuffers();
|
||||||
gfxSwapBuffers();
|
gfxSwapBuffers();
|
||||||
|
@ -29,7 +29,7 @@ int main(int argc, char **argv)
|
|||||||
//Scan all the inputs. This should be done once for each frame
|
//Scan all the inputs. This should be done once for each frame
|
||||||
hidScanInput();
|
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 width, height;
|
||||||
u32 pos;
|
u32 pos;
|
||||||
|
@ -35,7 +35,7 @@ int main(int argc, char **argv)
|
|||||||
//Scan all the inputs. This should be done once for each frame
|
//Scan all the inputs. This should be done once for each frame
|
||||||
hidScanInput();
|
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();
|
gfxFlushBuffers();
|
||||||
gfxSwapBuffers();
|
gfxSwapBuffers();
|
||||||
|
Loading…
Reference in New Issue
Block a user