diff options
| author | Kenix3 <kenixwhisperwind@gmail.com> | 2020-06-06 18:43:10 -0400 |
|---|---|---|
| committer | Kenix3 <kenixwhisperwind@gmail.com> | 2020-06-06 19:27:28 -0400 |
| commit | 2d191e301a4d6a4a49b62b31b17110c17df2afb5 (patch) | |
| tree | 2892ede7c11f939417b77407d67198dbe8d48c63 /src/code | |
| parent | cb8b9a20206782d171916a32adf5dd5409825350 (diff) | |
Adds TODO comments to remove implementation defined pointer manipulation.
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/z_scene.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/code/z_scene.c b/src/code/z_scene.c index 24628cdd2..ccdfc7230 100644 --- a/src/code/z_scene.c +++ b/src/code/z_scene.c @@ -145,7 +145,6 @@ void* func_8012F73C(SceneContext* sceneCtxt, s32 iParm2, s16 id) { vromSize = fileTableEntry->vromEnd - fileTableEntry->vromStart; // TODO: UB to cast void to u32 addr = ((u32)sceneCtxt->objects[iParm2].vramAddr) + vromSize; - // TODO: This is ALIGN16 macro from OOT. Seems to be aligning an address to DMA addr = ALIGN16(addr); // UB to cast u32 to pointer return (void*)addr; |
