summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorRoman971 <32455037+Roman971@users.noreply.github.com>2020-09-27 16:14:25 +0200
committerGitHub <noreply@github.com>2020-09-27 10:14:25 -0400
commit2a9225763bc4459d82b63f54c7254a854ef639ff (patch)
tree6d332b35468408f73ac6e9334246c219f78a5a98 /src/code
parent201584a707f6413939763a0086b236e713ae0714 (diff)
Decompile En_Mag (#406)
* Decompile En_Mag * Document En_Mag * Address some review comments
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_rcp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/code/z_rcp.c b/src/code/z_rcp.c
index 4adc982fc..93fb38469 100644
--- a/src/code/z_rcp.c
+++ b/src/code/z_rcp.c
@@ -1275,7 +1275,9 @@ void func_80094CBC(GraphicsContext* gfxCtx) {
void func_80094D28(Gfx** gfxp) {
Gfx* gfx = *gfxp;
+
gSPDisplayList(gfx++, &sSetupDL[6 * 0x38]);
+
*gfxp = gfx;
}
@@ -1293,6 +1295,7 @@ Gfx* Gfx_BranchTexScroll(Gfx** gfxp, u32 x, u32 y, s32 width, s32 height) {
gDPTileSync(displayList);
gDPSetTileSize(displayList + 1, 0, x, y, (x + ((width - 1) << 2)), (y + ((height - 1) << 2)));
gSPEndDisplayList(displayList + 2);
+
return displayList;
}