Add replay loading

This commit is contained in:
Miloslav Ciz 2025-01-15 23:08:31 +01:00
parent 9485a7cd95
commit 8040d6755f
3 changed files with 85 additions and 13 deletions

View file

@ -53,4 +53,15 @@ char _LCR_hexDigit(int i)
return i < 10 ? '0' + i : ('a' - 10 + i);
}
int _LCR_hexDigitVal(char c)
{
if (c >= '0' && c <= '9')
return c - '0';
if (c >= 'a' && c <= 'f')
return c - 'a' + 10;
return -1;
}
#endif // guard