diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2018-05-11 17:24:32 -0500 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2018-05-11 17:24:32 -0500 |
commit | 23b050a99e9603d038743dc14a36c808a822423f (patch) | |
tree | 7463de4a9c999351a3e07a24edbc4555d2c0d592 /src/match_call.c | |
parent | 4e2886db8179072badaad0a3ff131b95dd0a7e94 (diff) |
Update naked attribute and ASM_DIRECT to NAKED macro
Diffstat (limited to 'src/match_call.c')
-rw-r--r-- | src/match_call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/match_call.c b/src/match_call.c index 9c1e02947..aa6945161 100644 --- a/src/match_call.c +++ b/src/match_call.c @@ -980,7 +980,7 @@ static void sub_81D199C(const match_call_text_data_t *sub0, u16 idx, u8 *dest) } } #else -static ASM_DIRECT void sub_81D199C(const match_call_text_data_t *sub0, u16 idx, u8 *dest) +static NAKED void sub_81D199C(const match_call_text_data_t *sub0, u16 idx, u8 *dest) { asm_unified("\tpush {r4-r7,lr}\n" "\tmov r7, r10\n" @@ -1163,7 +1163,7 @@ const u8 *sub_81D1B40(u32 idx, u32 offset) return NULL; } #else -ASM_DIRECT const u8 *sub_81D1B40(u32 idx, u32 offset) +NAKED const u8 *sub_81D1B40(u32 idx, u32 offset) { asm_unified("\tpush {r4-r7,lr}\n" "\tmov r7, r9\n" |