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