mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-14 05:41:42 +00:00
Use code points instead of bytes for STRSUB/STRLEN
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
SECTION "sec", ROM0
|
||||
|
||||
xstrlen: MACRO
|
||||
PRINTV STRLEN(\1)
|
||||
PRINTT "\n"
|
||||
ENDM
|
||||
|
||||
xstrlen "ABC"
|
||||
xstrlen "カタカナ"
|
||||
Reference in New Issue
Block a user