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

@ -1311,10 +1311,10 @@ static void emith_add_imm(int rt, int ra, u32 imm)
rt = (arg+3)
#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
#define emith_invert_branch(cond) /* inverted conditional branch */ \