trunk/src/emu/video/v9938.c
| r26683 | r26684 | |
| 262 | 262 | |
| 263 | 263 | */ |
| 264 | 264 | |
| 265 | | UINT16 *v99x8_device::s_pal_indYJK; |
| 265 | UINT16 v99x8_device::s_pal_indYJK[0x20000]; |
| 266 | 266 | |
| 267 | 267 | PALETTE_INIT_MEMBER(v9958_device, v9958) |
| 268 | 268 | { |
| r26683 | r26684 | |
| 275 | 275 | if(machine().total_colors() != 19780) |
| 276 | 276 | fatalerror("V9958: not enough palette, must be 19780"); |
| 277 | 277 | |
| 278 | | if (v99x8_device::s_pal_indYJK == NULL) |
| 279 | | v99x8_device::s_pal_indYJK = auto_alloc_array(machine(),UINT16, 0x20000); |
| 280 | | |
| 281 | 278 | // set up YJK table |
| 282 | 279 | LOG(("Building YJK table for V9958 screens, may take a while ... \n")); |
| 283 | 280 | i = 0; |