diff options
| author | Theo <65437533+notyourav@users.noreply.github.com> | 2024-01-21 00:50:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-21 00:50:07 -0800 |
| commit | d8a9e54fa97d5657ebbf7b8a6fc5ce4d44d622b2 (patch) | |
| tree | b2ec2b8086005176092886ac69f1236f48069297 /include/gba | |
| parent | eaaeb3a6178dbfc084596c7a953d63c2ebc59f93 (diff) | |
| parent | d7c02737e9d287a40f559b05b3c187b44c4b7624 (diff) | |
Merge pull request #689 from KEKW555/KEKW555-patch-3
Diffstat (limited to 'include/gba')
| -rw-r--r-- | include/gba/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gba/syscall.h b/include/gba/syscall.h index 48f35863..aa09fd9e 100644 --- a/include/gba/syscall.h +++ b/include/gba/syscall.h @@ -62,4 +62,6 @@ int MultiBoot(struct MultiBootParam* mp); s32 Div(s32 num, s32 denom); +#define DivAndMod(num, denom) ((union SplitDWord)(*(MultiReturnTypeTwoS32Arg)(&Div))(num, denom)) + #endif // SYSCALL_H |
