mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 03:52:08 +00:00
Truncate long format spec strings before using them (#1299)
Fixes #1293
This commit is contained in:
3
test/asm/long-format-spec.asm
Normal file
3
test/asm/long-format-spec.asm
Normal file
@@ -0,0 +1,3 @@
|
||||
DEF n EQU 42
|
||||
; the format spec is truncated to "000...009", omitting the "x", so this prints "000000042" not "00000002a"
|
||||
PRINTLN "{000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009x:n}"
|
||||
Reference in New Issue
Block a user