mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-03 10:45:37 +00:00
Add an additional check to the jr-@ test (ported from rsgbds)
This commit is contained in:
1 parent
f7b8207322
commit
dc701294f8
2 files changed
+5
-2
No files matched your search
@@ -6,5 +6,8 @@ SECTION "fixed", ROM0[0]
|
||||
SECTION "floating", ROM0
|
||||
jr @
|
||||
|
||||
; XXX: We rely on this landing at address $0002, which isn't *guaranteed*...
|
||||
; This should thwart any attempts by RGBASM to compute the offset by itself.
|
||||
jr 1 + @ - 1
|
||||
|
||||
; We rely on this landing at address $0002, which isn't *guaranteed*...
|
||||
assert STARTOF("floating") == 2
|
||||
@@ -1 +1 @@
|
||||
��
|
||||
���
|
||||
Reference in new issue
Block a user