Fix unwarm regData index

This commit is contained in:
Scott Lahteine 2020-04-26 03:09:31 -05:00
parent eebb68cd7f
commit ef74ca60c0

View file

@ -807,7 +807,7 @@ UnwResult UnwStartThumb(UnwState * const state) {
case 2: /* MOV */ case 2: /* MOV */
UnwPrintd5("MOV r%d, r%d\t; r%d %s", rhd, rhs, rhd, M_Origin2Str(state->regData[rhs].o)); UnwPrintd5("MOV r%d, r%d\t; r%d %s", rhd, rhs, rhd, M_Origin2Str(state->regData[rhs].o));
state->regData[rhd].v = state->regData[rhs].v; state->regData[rhd].v = state->regData[rhs].v;
state->regData[rhd].o = state->regData[rhd].o; state->regData[rhd].o = state->regData[rhs].o;
break; break;
case 3: /* BX */ case 3: /* BX */