diff options
author | Bad Diode <bd@badd10de.dev> | 2021-05-07 10:18:29 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-05-07 10:18:29 +0200 |
commit | ce5976eed899a7214629302b7994acc48415ef81 (patch) | |
tree | 63b037f974ef823b9a7e11968c9dbfbcb616491a /src/common.h | |
parent | db0c517337ffc147eb460dee2e079a9a356e7225 (diff) | |
download | gba-experiments-ce5976eed899a7214629302b7994acc48415ef81.tar.gz gba-experiments-ce5976eed899a7214629302b7994acc48415ef81.zip |
Hack for improving the flickering
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 1 |
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))) |