forked from len0rd/rockbox
nwztools: cleanup the code
There was a lot of copy and paste, and the code was just crap. This commit tries to clarify the code and also document the encryption procedure. Hopefully I didn't break anything. Change-Id: I257793010e7cf94f2b090b30bb8608359d3886e3
This commit is contained in:
parent
de8950d63d
commit
cf82f208e3
6 changed files with 291 additions and 298 deletions
|
@ -34,7 +34,7 @@
|
|||
|
||||
typedef char color_t[];
|
||||
|
||||
extern color_t OFF, GREY, RED, GREEN, YELLOW, BLUE;
|
||||
extern color_t OFF, GREY, RED, GREEN, YELLOW, BLUE, WHITE;
|
||||
void *xmalloc(size_t s);
|
||||
void color(color_t c);
|
||||
void enable_color(bool enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue