ref: eddcbba82fa07705b35f3958a4f729878f22ecc2
parent: 462088a25c971fc8989e5bf56260c2365e258053
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Jul 8 12:30:25 EDT 2018
Avoid "Warning: Left shift of negative value" from rgbds
--- a/macros/asm_macros.asm
+++ b/macros/asm_macros.asm
@@ -1,6 +1,6 @@
lb: MACRO ; r, hi, lo
- ld \1, (\2) << 8 + ((\3) & $ff)
+ ld \1, ((\2) & $ff) << 8 + ((\3) & $ff)
ENDM
homecall: MACRO