mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 09:01:10 +00:00
x86: fix issue #95
This commit is contained in:
parent
5f7a912f5d
commit
a94e31165d
|
@ -8175,9 +8175,15 @@ static target_ulong disas_insn(CPUX86State *env, DisasContext *s,
|
||||||
// printf("\n");
|
// printf("\n");
|
||||||
if (changed_cc_op) {
|
if (changed_cc_op) {
|
||||||
if (cc_op_dirty)
|
if (cc_op_dirty)
|
||||||
|
#if TCG_TARGET_REG_BITS == 32
|
||||||
|
*(save_opparam_ptr + 16) = s->pc - pc_start;
|
||||||
|
else
|
||||||
|
*(save_opparam_ptr + 14) = s->pc - pc_start;
|
||||||
|
#else
|
||||||
*(save_opparam_ptr + 12) = s->pc - pc_start;
|
*(save_opparam_ptr + 12) = s->pc - pc_start;
|
||||||
else
|
else
|
||||||
*(save_opparam_ptr + 10) = s->pc - pc_start;
|
*(save_opparam_ptr + 10) = s->pc - pc_start;
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
*(save_opparam_ptr + 1) = s->pc - pc_start;
|
*(save_opparam_ptr + 1) = s->pc - pc_start;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue