mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-26 23:00:30 +00:00
field_10 -> Usage, Usage -> field_12
This commit is contained in:
parent
7a47c4b9f8
commit
68fd1028ef
2
bit.cpp
2
bit.cpp
@ -420,7 +420,7 @@ void CQuadBit::SetTexture(u32 checksum)
|
||||
|
||||
if (pTexture)
|
||||
{
|
||||
if (pTexture->Usage & 0xF0)
|
||||
if (pTexture->field_12 & 0xF0)
|
||||
this->mCodeBGR |= 0x20;
|
||||
|
||||
// @FIXME
|
||||
|
@ -177,8 +177,8 @@ void validate_Texture(void)
|
||||
VALIDATE(Texture, v3, 0xB);
|
||||
|
||||
VALIDATE(Texture, TexWin, 0xC);
|
||||
VALIDATE(Texture, field_10, 0x10);
|
||||
VALIDATE(Texture, Usage, 0x12);
|
||||
VALIDATE(Texture, Usage, 0x10);
|
||||
VALIDATE(Texture, field_12, 0x12);
|
||||
VALIDATE(Texture, Checksum, 0x14);
|
||||
|
||||
VALIDATE(Texture, pPalette, 0x18);
|
||||
|
@ -222,8 +222,8 @@ void NewTextureEntry(u32 checksum)
|
||||
pTex->pNext->pPrevious = pTex;
|
||||
|
||||
pTex->Checksum = checksum;
|
||||
pTex->Usage &= 0xFFF0;
|
||||
pTex->field_10 = 0;
|
||||
pTex->field_12 &= 0xFFF0;
|
||||
pTex->Usage = 0;
|
||||
pTex->clut = 0;
|
||||
pTex->u0 = 0;
|
||||
pTex->v0 = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user