mirror of
https://github.com/XorTroll/hb-appstore.git
synced 2025-03-01 14:57:31 +00:00
update get lib, add some debug info, remove exiting (temporary)
This commit is contained in:
parent
8214769916
commit
d6aff0f01a
@ -19,7 +19,7 @@ Console::Console()
|
||||
void Console::close()
|
||||
{
|
||||
SDL_Delay(1);
|
||||
SDL_Quit();
|
||||
// SDL_Quit();
|
||||
}
|
||||
|
||||
void Console::background(int r, int g, int b)
|
||||
|
@ -22,7 +22,5 @@ There's a separate makefile for building the SDL1.2 app for PC. It requires libs
|
||||
make -f Makefile.pc
|
||||
```
|
||||
|
||||
|
||||
|
||||
### License
|
||||
This software is licensed under the GPLv3.
|
||||
|
2
libs/get
2
libs/get
@ -1 +1 @@
|
||||
Subproject commit 88099ba35c68c69fe1549dbb4217d3c0822999e8
|
||||
Subproject commit a3d6ce3284ccd6db9e874df533faf8c586adfb9c
|
18
main.cpp
18
main.cpp
@ -2,9 +2,13 @@
|
||||
#include "Input.hpp"
|
||||
#include "libs/get/src/Utils.hpp"
|
||||
#include "libs/get/src/Get.hpp"
|
||||
//#include <switch.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// consoleDebugInit(debugDevice_SVC);
|
||||
// stdout = stderr; // for yuzu
|
||||
|
||||
// initialize text console
|
||||
Console* console = new Console();
|
||||
|
||||
@ -57,13 +61,13 @@ int main(int argc, char *argv[])
|
||||
if (menu->screen == INSTALL_SCREEN && input->held(BUTTON_X))
|
||||
menu->screen = REMOVING;
|
||||
|
||||
// if plus is pressed, exit
|
||||
if (input->held(BUTTON_MINUS))
|
||||
running = false;
|
||||
|
||||
// if B is pressed on the splash screen, exit
|
||||
if (menu->screen == SPLASH && input->held(BUTTON_B))
|
||||
running = false;
|
||||
// // if minus is pressed, exit
|
||||
// if (input->held(BUTTON_MINUS))
|
||||
// running = false;
|
||||
//
|
||||
// // if B is pressed on the splash screen, exit
|
||||
// if (menu->screen == SPLASH && input->held(BUTTON_B))
|
||||
// running = false;
|
||||
|
||||
// move cursor up or down depending on input
|
||||
menu->moveCursor(-1*(input->held(BUTTON_UP)) + (input->held(BUTTON_DOWN)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user