summaryrefslogtreecommitdiff
path: root/include/gba/io_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gba/io_reg.h')
-rw-r--r--include/gba/io_reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h
index 2453645..e50b580 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -597,6 +597,9 @@
// BLDALPHA
#define BLDALPHA_BLEND(target1, target2) (((target2) << 8) | (target1))
+// There is one time that we need to reverse the OR to match in PMD
+#define BLDALPHA_BLEND1(target1, target2) ((target1) | ((target2) << 8))
+
// SOUNDCNT_H
#define SOUND_CGB_MIX_QUARTER 0x0000
#define SOUND_CGB_MIX_HALF 0x0001