trunk/src/mame/video/rdpspn16.c
| r241813 | r241814 | |
| 152 | 152 | |
| 153 | 153 | INT32 tile1 = tilenum; |
| 154 | 154 | |
| 155 | #ifdef PTR64 |
| 156 | assert(extent.userdata != (const void *)0xcccccccccccccccc); |
| 157 | #else |
| 158 | assert(extent.userdata != (const void *)0xcccccccc); |
| 159 | #endif |
| 155 | 160 | rdp_span_aux *userdata = (rdp_span_aux*)extent.userdata; |
| 156 | 161 | |
| 157 | 162 | INT32 m_clamp_s_diff[8]; |
| r241813 | r241814 | |
| 325 | 330 | INT32 news = 0; |
| 326 | 331 | INT32 newt = 0; |
| 327 | 332 | |
| 333 | #ifdef PTR64 |
| 334 | assert(extent.userdata != (const void *)0xcccccccccccccccc); |
| 335 | #else |
| 336 | assert(extent.userdata != (const void *)0xcccccccc); |
| 337 | #endif |
| 328 | 338 | rdp_span_aux *userdata = (rdp_span_aux*)extent.userdata; |
| 329 | 339 | |
| 330 | 340 | INT32 m_clamp_s_diff[8]; |
| r241813 | r241814 | |
| 367 | 377 | dzinc = 0; |
| 368 | 378 | } |
| 369 | 379 | |
| 380 | if (object.MiscState.FBSize < 2 || object.MiscState.FBSize > 4) |
| 381 | fatalerror("unsupported FBSize %d\n", object.MiscState.FBSize); |
| 382 | |
| 370 | 383 | int blend_index = (object.OtherModes.alpha_cvg_select ? 2 : 0) | ((object.OtherModes.rgb_dither_sel < 3) ? 1 : 0); |
| 371 | 384 | int read_index = ((object.MiscState.FBSize - 2) << 1) | object.OtherModes.image_read_en; |
| 372 | 385 | int write_index = ((object.MiscState.FBSize - 2) << 3) | (object.OtherModes.cvg_dest << 1); |