all repos — mgba @ 0cc49ac4fbb00e5d44021a262fa872b04b17b94c

mGBA Game Boy Advance Emulator

Core: Config values can now be hexadecimal
Vicki Pfau vi@endrift.com
Tue, 13 Jun 2017 22:05:54 -0700
commit

0cc49ac4fbb00e5d44021a262fa872b04b17b94c

parent

caa1d45793bac65a358e53a480e7a4e89b96eb34

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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; }