mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc, minor fix for arg passing in calls from generated to C code
This commit is contained in:
parent
4ec1247d23
commit
aa9c5aa559
5 changed files with 9 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue