all repos — mgba @ 5015975e4c3907fd7f2be18fada16b6d319d63d8

mGBA Game Boy Advance Emulator

GBA: Fix CodeBreaker codes
Jeffrey Pfau jeffrey@endrift.com
Tue, 10 Feb 2015 00:24:36 -0800
commit

5015975e4c3907fd7f2be18fada16b6d319d63d8

parent

31a9bafae82a3fb3a35020b168257eb93f86b33a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gba/cheats.csrc/gba/cheats.c

@@ -670,7 +670,7 @@ line = _hex16(line, &op2);

if (!line) { return false; } - if (isspace(line[0])) { + if (!line[0] || isspace(line[0])) { return GBACheatAddCodeBreaker(cheats, op1, op2); } line = _hex16(line, &op3);