summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index f0c0886..aa7261e 100644
--- a/src/common.h
+++ b/src/common.h
@@ -156,6 +156,7 @@ typedef Color Scanline[SCREEN_WIDTH];
156// affine parameters. 156// affine parameters.
157// TODO: Benchmark if this would be slower or the same that TONC's 157// TODO: Benchmark if this would be slower or the same that TONC's
158// implementation. 158// implementation.
159// TODO: Cleanup OBJ/OAM memory copying and access.
159#define OBJ_ATTR_0(N) *((vu16*)(MEM_OAM + 0 + 8 * (N))) 160#define OBJ_ATTR_0(N) *((vu16*)(MEM_OAM + 0 + 8 * (N)))
160#define OBJ_ATTR_1(N) *((vu16*)(MEM_OAM + 2 + 8 * (N))) 161#define OBJ_ATTR_1(N) *((vu16*)(MEM_OAM + 2 + 8 * (N)))
161#define OBJ_ATTR_2(N) *((vu16*)(MEM_OAM + 4 + 8 * (N))) 162#define OBJ_ATTR_2(N) *((vu16*)(MEM_OAM + 4 + 8 * (N)))