(Attempt at) Implement restoring bis

1 switch was harmed in the making of this commit
This commit is contained in:
Such Meme, Many Skill
2020-03-15 12:35:18 +01:00
parent 144dc3a3f5
commit 3f6d1b532c
10 changed files with 287 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ void clearscreen(){
gfx_box(0, 0, 719, 15, COLOR_WHITE);
gfx_con_setpos(0, 0);
gfx_printf("Tegraexplorer v1.3.2\n");
gfx_printf("Tegraexplorer v1.3.3\n");
RESETCOLOR;
}
@@ -108,11 +108,17 @@ void printbytes(u8 print[], u32 size, u32 offset){
int makewaitmenu(char *initialmessage, char *hiddenmessage, int timer){
clearscreen();
return makewaitmenunoclear(initialmessage, hiddenmessage, timer);
}
int makewaitmenunoclear(char *initialmessage, char *hiddenmessage, int timer){
int res;
u32 start = get_tmr_s();
gfx_printf(initialmessage);
while (btn_read() != 0);
while(1){
res = btn_read();