diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-04 18:13:33 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-04 18:15:38 -0500 |
commit | 98da09b3e90b6a132ce6d2431999485593aef0c9 (patch) | |
tree | 3e0aa3dc9820b40dfdedaafbc5f884b7b87faac2 /macros/const.asm | |
parent | ef20126fe5459789c559b8b550f0bb0da52663ef (diff) |
Define more struct offset constants with rsreset instead of const_def
This was discussed in #739
Diffstat (limited to 'macros/const.asm')
-rw-r--r-- | macros/const.asm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/const.asm b/macros/const.asm index 5dfc3bca1..11d96d179 100644 --- a/macros/const.asm +++ b/macros/const.asm @@ -38,3 +38,11 @@ else const_value = \1 endc ENDM + +rb_skip: MACRO +if _NARG == 1 +rsset _RS + \1 +else +rsset _RS + 1 +endc +ENDM |