update get lib, add some debug info, remove exiting (temporary)

This commit is contained in:
vgmoose 2018-03-15 02:20:59 -04:00
parent 8214769916
commit d6aff0f01a
4 changed files with 13 additions and 11 deletions

View File

@ -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)

View File

@ -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.

@ -1 +1 @@
Subproject commit 88099ba35c68c69fe1549dbb4217d3c0822999e8
Subproject commit a3d6ce3284ccd6db9e874df533faf8c586adfb9c

View File

@ -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)));