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

@ -1035,7 +1035,7 @@ enum { xAX = 0, xCX, xDX, xBX, xSP, xBP, xSI, xDI, // x86-64,i386 common
#define emith_pass_arg_imm(arg, imm) do { \
int rd = 7; \
host_arg2reg(rd, arg); \
emith_move_r_imm(rd, imm); \
emith_move_r_ptr_imm(rd, imm); \
} while (0)
#define host_instructions_updated(base, end, force) (void)(base),(void)(end)