print hex

This commit is contained in:
Such Meme, Many Skill
2019-12-07 21:49:58 +01:00
parent b0094f133c
commit 8731550688
6 changed files with 59 additions and 8 deletions

View File

@@ -80,6 +80,11 @@ int makemenu(menu_item menu[], int menuamount){
}
}
void printbytes(u8 print[], u32 size, u32 offset){
gfx_con_setpos(0, 31);
gfx_hexdump(offset, print, size * sizeof(u8));
}
void printfsentry(fs_entry file, bool highlight, bool refresh){
int size = 0;
char *display;