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
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue