sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

gfx_output_buffer.h (540B)


      1 #ifndef GFX_OUTPUT_BUFFER_H
      2 #define GFX_OUTPUT_BUFFER_H
      3 
      4 #include <PR/ultratypes.h>
      5 
      6 #ifdef VERSION_EU
      7 // 0x17e00 bytes, aligned to a 0x200-byte boundary through sm64.ld. The alignment
      8 // wastes 0x100 bytes of space.
      9 #define GFX_OUTPUT_BUFFER_SIZE 0x2fc0
     10 #else
     11 // 0x1f000 bytes, aligned to a 0x1000-byte boundary through sm64.ld. (This results
     12 // in a bunch of unused space: ~0x100 in JP, ~0x300 in US.)
     13 #define GFX_OUTPUT_BUFFER_SIZE 0x3e00
     14 #endif
     15 
     16 extern u64 gGfxSPTaskOutputBuffer[GFX_OUTPUT_BUFFER_SIZE];
     17 
     18 #endif // GFX_OUTPUT_BUFFER_H