trunk/src/mame/video/deco32.c
| r31062 | r31063 | |
| 158 | 158 | VIDEO_START_MEMBER(dragngun_state,dragngun) |
| 159 | 159 | { |
| 160 | 160 | m_dirty_palette = auto_alloc_array(machine(), UINT8, 4096); |
| 161 | | |
| 162 | | |
| 163 | 161 | m_screen->register_screen_bitmap(m_temp_render_bitmap); |
| 164 | 162 | |
| 165 | 163 | memset(m_dirty_palette,0,4096); |
| r31062 | r31063 | |
| 173 | 171 | VIDEO_START_MEMBER(dragngun_state,lockload) |
| 174 | 172 | { |
| 175 | 173 | m_dirty_palette = auto_alloc_array(machine(), UINT8, 4096); |
| 174 | m_screen->register_screen_bitmap(m_temp_render_bitmap); |
| 176 | 175 | |
| 177 | 176 | memset(m_dirty_palette,0,4096); |
| 178 | 177 | |
trunk/src/mame/video/deco_zoomspr.c
| r31062 | r31063 | |
| 306 | 306 | colour = spritedata[offs+6]&0x1f; |
| 307 | 307 | |
| 308 | 308 | int priority = (spritedata[offs + 6] & 0x60) >> 5; |
| 309 | | /* |
| 310 | | if (priority == 0) priority = 1; |
| 311 | | else if (priority == 1) priority = 1; |
| 312 | | else if (priority == 2) priority = 1; |
| 313 | | else if (priority == 3) priority = 1; |
| 314 | | */ |
| 315 | | priority = 7; |
| 309 | |
| 316 | 310 | |
| 311 | |
| 312 | |
| 313 | // printf("%02x\n", priority); |
| 314 | |
| 315 | if (priority == 0) priority = 7; |
| 316 | else if (priority == 1) priority = 7; // set to 1 to have the 'masking effect' with the dragon on the dragngun attract mode, but that breaks the player select where it needs to be 3, probably missing some bits.. |
| 317 | else if (priority == 2) priority = 7; |
| 318 | else if (priority == 3) priority = 7; |
| 319 | |
| 317 | 320 | if (spritedata[offs+6]&0x80) |
| 318 | 321 | alpha=0x80; |
| 319 | 322 | else |