mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 06:24:30 +00:00
Introduce OPEN_DISPS/CLOSE_DISPS macros (#360)
This commit is contained in:
parent
1f1b5e39f5
commit
2a2fdf7f3e
134 changed files with 3133 additions and 3775 deletions
|
@ -2634,7 +2634,7 @@ _DW({ \
|
|||
* Macros to turn texture on/off
|
||||
*/
|
||||
# define gSPTexture(pkt, s, t, level, tile, on) \
|
||||
{ \
|
||||
_DW({ \
|
||||
Gfx *_g = (Gfx *)(pkt); \
|
||||
\
|
||||
_g->words.w0 = (_SHIFTL(G_TEXTURE,24,8) | \
|
||||
|
@ -2642,7 +2642,7 @@ _DW({ \
|
|||
_SHIFTL((level),11,3) | _SHIFTL((tile),8,3) | \
|
||||
_SHIFTL((on),1,7)); \
|
||||
_g->words.w1 = (_SHIFTL((s),16,16) | _SHIFTL((t),0,16)); \
|
||||
}
|
||||
})
|
||||
# define gsSPTexture(s, t, level, tile, on) \
|
||||
{ \
|
||||
(_SHIFTL(G_TEXTURE,24,8) | _SHIFTL(BOWTIE_VAL,16,8) | \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue