mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target/m68k: fetch code with translator_ld
Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
d3733cbbee
commit
87892c64bc
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ static TCGv gen_ldst(DisasContext *s, int opsize, TCGv addr, TCGv val,
|
||||||
static inline uint16_t read_im16(CPUM68KState *env, DisasContext *s)
|
static inline uint16_t read_im16(CPUM68KState *env, DisasContext *s)
|
||||||
{
|
{
|
||||||
uint16_t im;
|
uint16_t im;
|
||||||
im = cpu_lduw_code(env, s->pc);
|
im = translator_lduw(env, s->pc);
|
||||||
s->pc += 2;
|
s->pc += 2;
|
||||||
return im;
|
return im;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue