1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 15:04:31 +00:00

Decompile En_Mag (#406)

* Decompile En_Mag

* Document En_Mag

* Address some review comments
This commit is contained in:
Roman971 2020-09-27 16:14:25 +02:00 committed by GitHub
parent 201584a707
commit 2a9225763b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 607 additions and 2447 deletions

View file

@ -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;
}