summaryrefslogtreecommitdiff
path: root/audio/notes.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-03-16 17:53:42 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2021-03-16 18:06:18 -0400
commit3684296583bacac39a521b3c815a5680b5530c08 (patch)
tree4ce7b4253c0dbb2e4c9d694a0ea3764149d50025 /audio/notes.asm
parent52bcd78290ecc185df83e524044e34bfb3e7b58b (diff)
Revise some constant definitions
Diffstat (limited to 'audio/notes.asm')
-rw-r--r--audio/notes.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/notes.asm b/audio/notes.asm
index eeb84959b..e1d693137 100644
--- a/audio/notes.asm
+++ b/audio/notes.asm
@@ -1,4 +1,5 @@
FrequencyTable:
+ table_width 2, FrequencyTable
dw 0 ; __
dw $f82c ; C_
dw $f89d ; C#
@@ -12,6 +13,7 @@ FrequencyTable:
dw $fb58 ; A_
dw $fb9b ; A#
dw $fbda ; B_
+ assert_table_length NUM_NOTES + 1
dw $fc16 ; C_
dw $fc4e ; C#
dw $fc83 ; D_
@@ -24,3 +26,4 @@ FrequencyTable:
dw $fdac ; A_
dw $fdcd ; A#
dw $fded ; B_
+ assert_table_length NUM_NOTES * 2 + 1