Previous 15994 Revisions Next

r6386 Sunday 15th November, 2009 at 09:44:40 UTC by Harmony
[N64] Fixed a typo, which fixes RGBA textures [Harmony]
[src/mame/video]n64.c

src/mame/video/n64.c
r6385r6386
14211421            case PIXEL_SIZE_32BIT:
14221422            {
14231423               UINT32 *tc = (UINT32*)texture_cache;
1424               int xorval = (fb_size == PIXEL_SIZE_16BIT) ? XOR_SWAP_DWORD : XOR_SWAP_WORD; // Conker's Bad Fur Day, Jet Force Gemini, Super Smash Bros., Mickey's Speedway USA, Ogre Battle, Wave Race, Gex 3, South Park Rally
1424               int xorval = (fb_size == PIXEL_SIZE_16BIT) ? XOR_SWAP_WORD : XOR_SWAP_DWORD; // Conker's Bad Fur Day, Jet Force Gemini, Super Smash Bros., Mickey's Speedway USA, Ogre Battle, Wave Race, Gex 3, South Park Rally
14251425                    int taddr = (((tbase >> 2) + ((t) * (twidth >> 1)) + (s)) ^ ((t & 1) ? xorval : 0)) & 0x3ff;
14261426               UINT32 c = tc[taddr];
14271427

Previous 15994 Revisions Next


© 1998-2018 The MESS Team