This commit is contained in:
parent
33ce5c2f03
commit
6cb69637f8
4 changed files with 44 additions and 3 deletions
|
@ -41,7 +41,7 @@ TSPRT *PrimPtr=PrimBank;
|
|||
for (int i=0; i<Count; i++)
|
||||
{
|
||||
setTSprt(PrimPtr);
|
||||
setTSetShadeTex(PrimPtr,1);
|
||||
setTSetShadeTex(PrimPtr,0);
|
||||
PrimPtr->w=TILE2D_WIDTH;
|
||||
PrimPtr->h=TILE2D_HEIGHT;
|
||||
PrimPtr++;
|
||||
|
@ -125,6 +125,8 @@ TSPRT *PrimPtr=PrimBank;
|
|||
PrimPtr->y0=TileY;
|
||||
setTSprtTPage(PrimPtr,Tile->TPage);
|
||||
*(u32*)&PrimPtr->u0=*(u32*)&Tile->u0; // copy uv AND clut
|
||||
extern u8 GlobalRGB[];
|
||||
setRGB0(PrimPtr,GlobalRGB[2],GlobalRGB[2],GlobalRGB[2]);
|
||||
addPrim(ThisOT,PrimPtr);
|
||||
PrimPtr++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue