sh2 drc, minor fix for arg passing in calls from generated to C code

This commit is contained in:
kub 2022-11-21 21:19:34 +00:00
parent 4ec1247d23
commit aa9c5aa559
5 changed files with 9 additions and 9 deletions

View file

@ -1065,10 +1065,10 @@ static void emith_ldst_offs(int sz, int rd, int rn, int o9, int ld, int mode)
rd = arg
#define emith_pass_arg_r(arg, reg) \
emith_move_r_r(arg, reg)
emith_move_r_r_ptr(arg, reg)
#define emith_pass_arg_imm(arg, imm) \
emith_move_r_imm(arg, imm)
emith_move_r_ptr_imm(arg, imm)
// branching; NB: A64 B.cond has only +/- 1MB range