Core: Config values can now be hexadecimal
Vicki Pfau vi@endrift.com
Tue, 13 Jun 2017 22:05:54 -0700
2 files changed,
4 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -135,6 +135,7 @@ - Core: Move savestate creation time to extdata
- Debugger: Add mDebuggerRunFrame convenience function - GBA Memory: Remove unused prefetch cruft - GB: Trust ROM header for number of SRAM banks (fixes mgba.io/i/726) + - Core: Config values can now be hexadecimal 0.5.2: (2016-12-31) Bugfixes:
M
src/core/config.c
→
src/core/config.c
@@ -86,6 +86,9 @@ return false;
} char* end; long value = strtol(charValue, &end, 10); + if (end == &charValue[1] && *end == 'x') { + value = strtol(charValue, &end, 16); + } if (*end) { return false; }