Patch by Magliocchetti Riccardo:

removed shadow on pal variable
(guill: it should be ok, pal isn't used afterward)
This commit is contained in:
yabause 2008-11-10 21:40:44 +00:00
parent cffdf28d7d
commit dfb4ada998
1 changed files with 2 additions and 2 deletions

View File

@ -650,10 +650,10 @@ static void setTexture(unsigned int format, unsigned int texpal)
break;
case 5: //4x4
{
unsigned short * pal = (unsigned short *)(ARM9Mem.texPalSlot[0] + (texturePalette<<4));
pal = (unsigned short *)(ARM9Mem.texPalSlot[0] + (texturePalette<<4));
unsigned short * slot1;
unsigned int * map = (unsigned int *)adr;
unsigned d = 0;
unsigned int d = 0;
unsigned int * dst = (unsigned int *)texMAP;
if ( (texcache[i].frm & 0xc000) == 0x8000)
// texel are in slot 2