summaryrefslogtreecommitdiff
path: root/audio/engine_2.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-01-27 16:22:41 -0500
committeryenatch <yenatch@gmail.com>2014-01-27 16:24:13 -0500
commit1b9ee46af9f8baac0d266a54130115a719788377 (patch)
tree8ac61c0752dc74da0677cb26fe4db6362db5b2b7 /audio/engine_2.asm
parent6bde08504fdc336b1d458bab0bed4ef649cae25a (diff)
Get rid of globals.asm. Use ::s to export labels between objects.
globals.asm was a hack that: - gave rgbasm an extra 100k lines to read - increased reliance on the python preprocessor - made the makefile a mess - gave object creation an extra step - wasn't even necessary This speeds up build time by at least a third.
Diffstat (limited to 'audio/engine_2.asm')
-rw-r--r--audio/engine_2.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/engine_2.asm b/audio/engine_2.asm
index deb65357..56834b90 100644
--- a/audio/engine_2.asm
+++ b/audio/engine_2.asm
@@ -1,6 +1,6 @@
; The second of three duplicated sound engines.
-Func_21879: ; 21879 (8:5879)
+Func_21879:: ; 21879 (8:5879)
ld c, CH0
.loop
ld b, $0
@@ -1324,7 +1324,7 @@ Func_22017: ; 22017 (8:6017)
ld d, a
ret
-Func_22035: ; 22035 (8:6035)
+Func_22035:: ; 22035 (8:6035)
ld [$c001], a
cp $ff
jp z, Func_221f3