mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
This prevents passing a negative value out of a signed char by accident. Also renders some casts in the code superfluous.
6 lines
131 B
NASM
6 lines
131 B
NASM
; This test tries to pass invalid UTF-8 through a macro argument
|
|
; to exercise the lexer's reportGarbageChar
|
|
m:MACRO \1
|
|
ENDM
|
|
m ÏÓ
|