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-05 16:21:32 -0500 |
commit | e950809640f81c5d621c39becc4dcce15a82c064 (patch) | |
tree | 34a5978b2f0ef50e540ec1800f02bc603790f4ec /macros | |
parent | 472051eb5e6057f064547c88320e7dbdb142ac4f (diff) |
Define more struct offset constants with rsreset instead of const_def
Diffstat (limited to 'macros')
-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 5dfc3bca..11d96d17 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 |