summaryrefslogtreecommitdiff
path: root/gfx/sgb/data_snd_packets.asm
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/sgb/data_snd_packets.asm')
-rw-r--r--gfx/sgb/data_snd_packets.asm11
1 files changed, 1 insertions, 10 deletions
diff --git a/gfx/sgb/data_snd_packets.asm b/gfx/sgb/data_snd_packets.asm
index cfa799f0c..c2521b845 100644
--- a/gfx/sgb/data_snd_packets.asm
+++ b/gfx/sgb/data_snd_packets.asm
@@ -2,23 +2,14 @@
; names taken from pandocs
; http://gbdev.gg8.se/wiki/articles/SGB_Functions#SGB_Palette_Commands
-sgb_mask_en: MACRO
- db ($17 << 3) + 1
- db \1
- ds 14
-ENDM
-
sgb_data_snd: MACRO
- db ($0f << 3) + 1
+ db (SGB_DATA_SND << 3) + 1
dw \1 ; address
db \2 ; bank
db \3 ; length (1-11)
ENDM
-MaskEnFreezePacket: sgb_mask_en 1
-MaskEnCancelPacket: sgb_mask_en 0
-
; These are packets containing SNES code.
; This set of packets is found in several Japanese SGB-compatible titles.
; It appears to be part of NCL's SGB devkit.