Skip to content

Commit

Permalink
Fix corrupted wave samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabomstew committed Oct 31, 2019
1 parent 707acc3 commit 2eb6ce1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions macros/asm_macros.asm
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,12 @@ overworldMapCoord: MACRO
ENDM

; macro for two nibbles
dn: MACRO
db (\1 << 4 | \2)
dn: MACRO ; nybbles
rept _NARG / 2
db ((\1) << 4) | (\2)
shift
shift
endr
ENDM

; macro for putting a byte then a word
Expand Down

0 comments on commit 2eb6ce1

Please sign in to comment.