summaryrefslogtreecommitdiff
path: root/include/gba/macro.h
diff options
context:
space:
mode:
authorsceptillion <33798691+sceptillion@users.noreply.github.com>2017-12-18 14:13:23 -0800
committersceptillion <33798691+sceptillion@users.noreply.github.com>2017-12-18 14:13:23 -0800
commit3b992d3ad3376d3a37d9afbf60de91aecac5d32b (patch)
tree64a42ec270c54533bab8941c7f1e4cb5d52d4543 /include/gba/macro.h
parentf70d7efa6638c428885756405800aa022fb339da (diff)
decompile window
Diffstat (limited to 'include/gba/macro.h')
-rw-r--r--include/gba/macro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gba/macro.h b/include/gba/macro.h
index a0edf2a49..462d3589d 100644
--- a/include/gba/macro.h
+++ b/include/gba/macro.h
@@ -27,6 +27,8 @@
#define CpuFastFill16(value, dest, size) CpuFastFill(((value) << 16) | (value), (dest), (size))
+#define CpuFastFill8(value, dest, size) CpuFastFill(((value) << 24) | ((value) << 16) | ((value) << 8) | (value), (dest), (size))
+
#define CpuFastCopy(src, dest, size) CpuFastSet(src, dest, ((size)/(32/8) & 0x1FFFFF))
#define DmaSet(dmaNum, src, dest, control) \