summaryrefslogtreecommitdiff
path: root/include/GX_layers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GX_layers.h')
-rw-r--r--include/GX_layers.h27
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);