src/mess/video/odyssey2.c
| r14687 | r14688 | |
| 398 | 398 | int j; |
| 399 | 399 | |
| 400 | 400 | // Charaecter height is always determined by the height of the 4th character |
| 401 | | int char_height = 8 - ( ( ( y >> 1 ) + state->m_o2_vdc.s.quad[i].single[3].ptr ) & 7 ); |
| 401 | int char_height = 8 - ( ( ( y >> 1 ) + state->m_o2_vdc.s.quad[i].single[3].ptr ) & 7 ); |
| 402 | 402 | |
| 403 | 403 | for ( j = 0; j < ARRAY_LENGTH( state->m_o2_vdc.s.quad[0].single ); j++, x += 8 ) |
| 404 | 404 | { |
| 405 | 405 | |
| 406 | 406 | |
| 407 | | /* char_height = 8; */ |
| 408 | | |
| 409 | | logerror("char_height: %d, y: %d, m_start_vpos: %d\n",char_height,y, state->m_start_vpos); |
| 410 | | |
| 411 | | |
| 412 | 407 | if ( y <= ( vpos - state->m_start_vpos ) && ( vpos - state->m_start_vpos ) < y + char_height * 2 ) |
| 413 | 408 | { |
| 414 | 409 | |
| r14687 | r14688 | |
| 419 | 414 | |
| 420 | 415 | UINT8 chr = ((char*)o2_shape)[ offset & 0x1FF ]; |
| 421 | 416 | |
| 422 | | |
| 423 | | logerror("vpos: %d, object: %d, Inst: %d, offset: %d, chr: %x \n",vpos,i,j,offset,chr); |
| 424 | | |
| 425 | 417 | UINT8 m; |
| 426 | 418 | for ( m = 0x80; m > 0; m >>= 1, x++ ) |
| 427 | 419 | { |