aboutsummaryrefslogtreecommitdiff
path: root/target/rx
diff options
context:
space:
mode:
Diffstat (limited to 'target/rx')
-rw-r--r--target/rx/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/rx/cpu.c b/target/rx/cpu.c
index 134b4b6..2f28099 100644
--- a/target/rx/cpu.c
+++ b/target/rx/cpu.c
@@ -44,7 +44,7 @@ static void rx_cpu_synchronize_from_tb(CPUState *cs,
{
RXCPU *cpu = RX_CPU(cs);
- cpu->env.pc = tb->pc;
+ cpu->env.pc = tb_pc(tb);
}
static bool rx_cpu_has_work(CPUState *cs)