diff options
| author | Tyler McGavran <tyler.taggerung@gmail.com> | 2022-01-09 22:02:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 20:02:34 -0700 |
| commit | dd05d49f5f854cbd98a2995efa02db6935923636 (patch) | |
| tree | 86edec090da89e89d346ba6a65dd91dbefe56623 /src/main.h | |
| parent | bc99dedb8bc0d8a1f6fed20e36ed60a3ed70b01b (diff) | |
Update the GfxPool struct and match some functions (#134)
* Update the GfxPool struct and match some functions
Also reordered variables.h a bit
* Match 2 more functions
* Replace reaming ->buffer references with ->mtxPool
Update the mips_to_c output of a couple functions based on new GfxPool
definition
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main.h b/src/main.h index 0398c1730..cd15cbb32 100644 --- a/src/main.h +++ b/src/main.h @@ -2,13 +2,14 @@ #define MAIN_H #include "types.h" -// 20836 -// 655 -#define GFX_POOL_SIZE 20836 + +#define MTX_POOL_SIZE 0x0683 +#define GFX_POOL_SIZE 0x1D4C struct GfxPool { - Gfx buffer[GFX_POOL_SIZE]; - struct SPTask spTask; -}; + /* 0x00000 */ Mtx mtxPool[MTX_POOL_SIZE]; + /* 0x1A0C0 */ Gfx gfxPool[GFX_POOL_SIZE]; + /* 0x28B20 */ struct SPTask spTask; +}; // size = 0x28B70 extern struct GfxPool *gGfxPool; |
