fix 32bit toon table writes

This commit is contained in:
zeromus 2009-11-15 06:35:30 +00:00
parent 8332160bb5
commit 53df785ad4
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ Graphics:
bug: fix disp fifo capture
bug: fix simultaneous vram display and capture via same bank
bug: fix 3d overflow acknowledge registers
bug: fix 32bit toon table writes
bug: change 3d cores to use 18bit color
bug: fix boxtest (addition overflow!), move clipper to main graphics engine
bug: fix failure in some cases of polygon clipping

View File

@ -1626,7 +1626,7 @@ void gfx3d_UpdateToonTable(u8 offset, u16 val)
void gfx3d_UpdateToonTable(u8 offset, u32 val)
{
gfx3d.u16ToonTable[offset] = val & 0xFFFF;
gfx3d.u16ToonTable[offset+1] = val >> 8;
gfx3d.u16ToonTable[offset+1] = val >> 16;
}
s32 gfx3d_GetClipMatrix (unsigned int index)