summaryrefslogtreecommitdiff
path: root/include/gba/macro.h
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-03-29 19:02:15 -0500
committerDiegoisawesome <diego@domoreaweso.me>2017-03-29 19:02:15 -0500
commitb95747dc69a1a52a37b2002e12c12c9a57e72962 (patch)
treea63b85d17d45b33918e1a7ce8551fc27377bfb8d /include/gba/macro.h
parent0931f65fa264ac6e1ec02ced224ea7f0e5f3863b (diff)
Begin disassembling window.s
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 230fb4383..0217898e8 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) \