summaryrefslogtreecommitdiff
path: root/include/gba/macro.h
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2016-12-11 14:18:53 -0800
committerGitHub <noreply@github.com>2016-12-11 14:18:53 -0800
commit0d33462f7a9a3295da2706a3b70802d994c75268 (patch)
tree5b47c62e34d667ea4ac0affd9c80ccdc6415e407 /include/gba/macro.h
parentc7b4ec3cdf5fce8d48f73166d08c37aaaaac98ab (diff)
parent8cac5f582da213ee1349892c7d42942e0e00e402 (diff)
Merge pull request #123 from yenatch/fieldmap
Decompile src/fieldmap.c
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) \