src/mess/tools/imgtool/main.c
| r12211 | r12212 | |
| 793 | 793 | |
| 794 | 794 | for (i = 0; range[i].max >= 0; i++) |
| 795 | 795 | { |
| 796 | | snprintf(buf, ARRAY_LENGTH(buf), |
| 797 | | (range[i].min == range[i].max) ? "%i" : "%i-%i", |
| 798 | | range[i].min, |
| 799 | | range[i].max); |
| 796 | if (range[i].min == range[i].max) |
| 797 | snprintf(buf, ARRAY_LENGTH(buf), "%i", range[i].min); |
| 798 | else |
| 799 | snprintf(buf, ARRAY_LENGTH(buf), "%i-%i", range[i].min, range[i].max); |
| 800 | 800 | |
| 801 | 801 | if (i > 0) |
| 802 | 802 | strncatz(range_buffer, "/", sizeof(range_buffer)); |
src/mess/machine/dccons.c
| r12211 | r12212 | |
| 533 | 533 | |
| 534 | 534 | void dreamcast_atapi_init(running_machine &machine) |
| 535 | 535 | { |
| 536 | | atapi_regs = auto_alloc_array(machine, UINT8, ATAPI_REG_MAX ); |
| 537 | | memset(atapi_regs, 0, sizeof(atapi_regs)); |
| 536 | atapi_regs = auto_alloc_array_clear(machine, UINT8, ATAPI_REG_MAX); |
| 538 | 537 | |
| 539 | 538 | atapi_regs[ATAPI_REG_CMDSTATUS] = 0; |
| 540 | 539 | atapi_regs[ATAPI_REG_ERROR] = 1; |
src/mess/drivers/dectalk.c
| r12211 | r12212 | |
| 447 | 447 | #ifdef SPC_LOG_68K |
| 448 | 448 | logerror(" | 0x40: speech int enabled\n"); |
| 449 | 449 | #endif |
| 450 | | if ((state->m_infifo_semaphore == 1)) |
| 450 | if (state->m_infifo_semaphore == 1) |
| 451 | 451 | { |
| 452 | 452 | #ifdef SPC_LOG_68K |
| 453 | 453 | logerror(" speech int fired!\n"); |
| r12211 | r12212 | |
| 489 | 489 | #ifdef TLC_LOG |
| 490 | 490 | logerror(" | 0x40: tone detect int enabled\n"); |
| 491 | 491 | #endif |
| 492 | | if ((state->m_tlc_tonedetect == 1)) |
| 492 | if (state->m_tlc_tonedetect == 1) |
| 493 | 493 | { |
| 494 | 494 | #ifdef TLC_LOG |
| 495 | 495 | logerror(" TLC int fired!\n"); |
| r12211 | r12212 | |
| 522 | 522 | #ifdef TLC_LOG |
| 523 | 523 | logerror(" | 0x4000: ring detect int enabled\n"); |
| 524 | 524 | #endif |
| 525 | | if ((state->m_tlc_ringdetect == 1)) |
| 525 | if (state->m_tlc_ringdetect == 1) |
| 526 | 526 | { |
| 527 | 527 | #ifdef TLC_LOG |
| 528 | 528 | logerror(" TLC int fired!\n"); |