diff options
author | Revo <projectrevotpp@hotmail.com> | 2021-05-23 01:28:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 01:28:16 -0400 |
commit | a7794a82a376150ef63562465a71fc161d67e7fa (patch) | |
tree | c7f40d9e03335c1b29980a8b79bf2ddb51764a5f /include/GX_layers.h | |
parent | 121208bd6db271ae766a614da82fa00498bb7856 (diff) | |
parent | 4ea5a0c4aa1605f625d860f55894ac656bdcbd49 (diff) |
Merge pull request #349 from remicalixte/unk_02016B94
Decompile unk_02016B94.s
Diffstat (limited to 'include/GX_layers.h')
-rw-r--r-- | include/GX_layers.h | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/include/GX_layers.h b/include/GX_layers.h index d6afc743..3943d582 100644 --- a/include/GX_layers.h +++ b/include/GX_layers.h @@ -3,9 +3,6 @@ #include "global.h" -#include "GX_vramcnt.h" -#include "error_message_reset.h" -#include "gx.h" struct GX_LayerData { @@ -20,6 +17,30 @@ typedef enum { } GX_LayerToggle; +struct GraphicsBanks +{ + s32 bg; + s32 bgextpltt; + s32 subbg; + s32 subbgextpltt; + s32 obj; + s32 objextpltt; + s32 subobj; + s32 subobjextpltt; + s32 tex; + s32 texpltt; +}; + + +struct GraphicsModes { + u32 mode1; + u32 mode2; + u32 mode3; + u32 mode4; +}; + + + void GX_SetBanks(const struct GraphicsBanks *banks); void GX_DisableEngineALayers(); void GX_EngineAToggleLayers(u32 layer_mask, GX_LayerToggle layer_toggle); |