Bunch 'o experimental changes

This commit is contained in:
Alex Hultman
2023-05-07 01:28:07 +02:00
parent 6f7d8657a4
commit abb22793ff
8 changed files with 220 additions and 29 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ inline int u32toaHex(uint32_t value, char *dst) {
char temp[10];
char *p = temp;
do {
*p++ = palette[value % 16];
value /= 16;
*p++ = palette[value & 15];
value >>= 4;
} while (value > 0);
int ret = (int) (p - temp);