all repos — mgba @ 8f151ec90fac7f3ff1e17d055b052f8e4bf11eba

mGBA Game Boy Advance Emulator

DebugVectors should inherit failure
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Jul 2014 04:12:04 -0700
commit

8f151ec90fac7f3ff1e17d055b052f8e4bf11eba

parent

903f384e05f867ed02c581764ce3a165f4163a7a

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

jump to
M src/debugger/cli-debugger.csrc/debugger/cli-debugger.c

@@ -606,6 +606,9 @@ dvTemp.intValue = current;

*dv = dvTemp; if (string[0] == ' ') { dv->next = _DVParse(debugger, string + 1, length - 1); + if (dv->next && dv->next->type == ERROR_TYPE) { + dv->type = ERROR_TYPE; + } } } return dv;