diff options
author | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-05-20 19:22:55 +0200 |
---|---|---|
committer | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-05-20 19:22:55 +0200 |
commit | 8df65ef7a08ee617dc858e4f40429c01f866f1dc (patch) | |
tree | 344c956b922b18bff95aa9adfafb0ddf741dfa2d /include/GX_layers.h | |
parent | fb002e4c21e5a4e4a2b4afa151ea725f16d86d25 (diff) |
more extern cleanups
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 e94fb4ec..69fdc198 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; +}; + + + THUMB_FUNC void GX_SetBanks(const struct GraphicsBanks *banks); THUMB_FUNC void GX_DisableEngineALayers(); THUMB_FUNC void GX_EngineAToggleLayers(u32 layer_mask, GX_LayerToggle layer_toggle); |