summaryrefslogtreecommitdiff
path: root/include/gba/macro.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-01-13 17:40:03 -0800
committerYamaArashi <shadow962@live.com>2017-01-13 17:46:05 -0800
commitebf4c5ca76fc2c05443361a7ca633a897a4a76d7 (patch)
treec0ddde6136ef6dc01e6f20837789c88b44c7578a /include/gba/macro.h
parent452bbe41cfb3139ea62580e9930525d9ea664ac9 (diff)
decompile multiboot
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 62d3e73fa..230fb4383 100644
--- a/include/gba/macro.h
+++ b/include/gba/macro.h
@@ -25,6 +25,8 @@
CPU_FAST_SET_SRC_FIXED | ((size)/(32/8) & 0x1FFFFF)); \
}
+#define CpuFastFill16(value, dest, size) CpuFastFill(((value) << 16) | (value), (dest), (size))
+
#define CpuFastCopy(src, dest, size) CpuFastSet(src, dest, ((size)/(32/8) & 0x1FFFFF))
#define DmaSet(dmaNum, src, dest, control) \