diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:33:05 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-25 16:44:41 -0400 |
commit | 95ec2cf039f0efdc6dadfb6fe766ace231a1b6b1 (patch) | |
tree | 5a7b79846bd7f07e40310da46b21873774a08ef7 /audio/notes.asm | |
parent | e1f6bb53939be34f55e05cbbd19cd758936b3422 (diff) |
Verify data table and name list sizes with assertion macros
Fixes #312
Diffstat (limited to 'audio/notes.asm')
-rw-r--r-- | audio/notes.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/notes.asm b/audio/notes.asm index 75e1a0b7..ac4b3eb0 100644 --- a/audio/notes.asm +++ b/audio/notes.asm @@ -1,5 +1,6 @@ ; This file is INCLUDEd three times, once in each audio engine. + table_width 2 dw $F82C ; C_ dw $F89D ; C# dw $F907 ; D_ @@ -12,3 +13,4 @@ dw $FB58 ; A_ dw $FB9B ; A# dw $FBDA ; B_ + assert_table_length NUM_NOTES |