Previous 15994 Revisions Next

r8765 Thursday 12th August, 2010 at 10:10:54 UTC by MooglyGuy
Fix an off-by-one bug in Super A'Can driver that was breaking sprites.
[src/mess/drivers]supracan.c

src/mess/drivers/supracan.c
r8764r8765
4040                                             otherwise writes 0x4f to reg 0x14 and performs additional processing
4141
4242    Known unemulated graphical effects and issues:
43    - All: Sprites are currently very broken for an unknown reason.
4443    - All: Sprite sizing is still imperfect.
4544    - All: Sprites need to be converted to use scanline rendering for proper clipping.
4645    - All: Improperly-emulated 1bpp ROZ mode, used by the Super A'Can BIOS logo.
r8764r8765
8382#define DEBUG_PRIORITY          (0)
8483#define DEBUG_PRIORITY_INDEX    (0) // 0-3
8584
86#define VERBOSE_LEVEL   (0)
85#define VERBOSE_LEVEL   (3)
8786
88#define ENABLE_VERBOSE_LOG (0)
87#define ENABLE_VERBOSE_LOG (1)
8988
9089typedef struct _acan_dma_regs_t acan_dma_regs_t;
9190struct _acan_dma_regs_t
r8764r8765
17451744                    //acan_sprdma_regs->count <<= 1;
17461745                }
17471746
1748            for(i = 0; i < acan_sprdma_regs->count; i++)
1747            for(i = 0; i <= acan_sprdma_regs->count; i++)
17491748            {
17501749               if(data & 0x0100) //dma 0x00 fill (or fixed value?)
17511750               {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team